diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2018-11-08 13:39:03 +0100 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2018-11-08 14:20:55 +0100 |
commit | 59332d06d70883244a6d38e8a44245e08f89ee8f (patch) | |
tree | 8596d33bd9c2cbae4a7ba5443f7cdb894590df5b /tools/dbus-run-session.c | |
parent | 59013d4c43398798bfc83413002e8f7246de6328 (diff) | |
download | dbus-59332d06d70883244a6d38e8a44245e08f89ee8f.tar.gz |
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
Diffstat (limited to 'tools/dbus-run-session.c')
-rw-r--r-- | tools/dbus-run-session.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/dbus-run-session.c b/tools/dbus-run-session.c index 57daa977..face95a1 100644 --- a/tools/dbus-run-session.c +++ b/tools/dbus-run-session.c @@ -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 |