From d2c9543f2e674d20e72144122b7409c31f08c7e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Thu, 20 Sep 2018 05:20:24 +0000 Subject: [PATCH] tests W32: include process.h for getpid() At least, MinGW has POSIX names. No idea if this works in MSVC. --- tests/mapping-test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/mapping-test.c b/tests/mapping-test.c index 3eb90fa48..27c6d8366 100644 --- a/tests/mapping-test.c +++ b/tests/mapping-test.c @@ -25,6 +25,9 @@ #ifdef G_OS_UNIX #include #endif +#ifdef G_OS_WIN32 +#include +#endif static gchar *dir, *filename, *displayname, *childname;