diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-08 13:42:27 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-01-08 13:42:27 +0000 |
commit | a10afb112ae71d2cdaa58ef2c8a98a9b4dfb492f (patch) | |
tree | abc57d076451c0bfe2b3416a4db5a7b5da035b9e /telepathy-glib/debug.c | |
parent | 3b76172fde7f07c5729403d0968c7293dadb8614 (diff) | |
download | telepathy-glib-a10afb112ae71d2cdaa58ef2c8a98a9b4dfb492f.tar.gz |
Conditionally include <unistd.h>, Windows doesn't have one
Patch from Sunil Mohan Adapa <sunil@synovel.com>
Diffstat (limited to 'telepathy-glib/debug.c')
-rw-r--r-- | telepathy-glib/debug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/telepathy-glib/debug.c b/telepathy-glib/debug.c index a452afc42..cbd1d6a09 100644 --- a/telepathy-glib/debug.c +++ b/telepathy-glib/debug.c @@ -57,7 +57,10 @@ #include <fcntl.h> #include <stdarg.h> #include <sys/stat.h> + +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #include <glib.h> #include <glib/gstdio.h> |