Windows MSVC compile fix

Do not use unistd.h with MSVC because this header file does not
exist for this compiler.

Fixup of commit b0c0652005
This commit is contained in:
Ralf Habacker 2018-11-08 13:39:03 +01:00
parent 59013d4c43
commit 59332d06d7

View file

@ -31,7 +31,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifndef _MSC_VER
#include <unistd.h>
#endif
#include <sys/types.h>
#ifdef DBUS_UNIX