diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-06-29 16:17:20 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-08-05 14:39:04 +0100 |
commit | 3cf9fa4dc76d9c85f8490b2437562672668d65d5 (patch) | |
tree | 45b80a5c63ebe6494a2987466c26979a67d6ba26 | |
parent | 94e7a1df3e4a677c04ca5140e0c56cb369f5076b (diff) |
Conditionalize inclusion of unistd.h
Windows doesn't have it, for instance.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38656
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
-rw-r--r-- | bus/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -32,7 +32,9 @@ #ifdef HAVE_SIGNAL_H #include <signal.h> #endif +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #ifdef HAVE_ERRNO_H #include <errno.h> #endif |