From 788409faeb001dac88993ae0b6e398d03afda874 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 29 Jun 2011 16:17:20 +0100 Subject: [PATCH 2/5] Conditionalize inclusion of unistd.h Windows doesn't have it, for instance. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38656 --- bus/main.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/bus/main.c b/bus/main.c index 9f1bf11..13a3770 100644 --- a/bus/main.c +++ b/bus/main.c @@ -32,7 +32,9 @@ #ifdef HAVE_SIGNAL_H #include #endif +#ifdef HAVE_UNISTD_H #include +#endif #ifdef HAVE_ERRNO_H #include #endif -- 1.7.5.4