summaryrefslogtreecommitdiff
path: root/telepathy-glib/run.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-01-08 13:42:27 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-01-08 13:42:27 +0000
commita10afb112ae71d2cdaa58ef2c8a98a9b4dfb492f (patch)
treeabc57d076451c0bfe2b3416a4db5a7b5da035b9e /telepathy-glib/run.c
parent3b76172fde7f07c5729403d0968c7293dadb8614 (diff)
downloadtelepathy-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/run.c')
-rw-r--r--telepathy-glib/run.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/telepathy-glib/run.c b/telepathy-glib/run.c
index 888519ed7..3b59c5652 100644
--- a/telepathy-glib/run.c
+++ b/telepathy-glib/run.c
@@ -40,7 +40,10 @@
#include <dbus/dbus-glib-lowlevel.h>
#include <stdlib.h>
#include <string.h>
+
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include "debug-internal.h"
#include <telepathy-glib/base-connection-manager.h>