From: Ralf Habacker Date: Thu, 8 Nov 2018 12:39:03 +0000 (+0100) Subject: Windows MSVC compile fix X-Git-Tag: dbus-1.13.8~37^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59332d06d70883244a6d38e8a44245e08f89ee8f;p=thirdparty%2Fdbus.git Windows MSVC compile fix Do not use unistd.h with MSVC because this header file does not exist for this compiler. Fixup of commit b0c0652005ce6892dd359f1b098dbdec9fb7455f --- diff --git a/tools/dbus-run-session.c b/tools/dbus-run-session.c index 57daa9771..face95a1b 100644 --- a/tools/dbus-run-session.c +++ b/tools/dbus-run-session.c @@ -31,7 +31,9 @@ #include #include #include +#ifndef _MSC_VER #include +#endif #include #ifdef DBUS_UNIX