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/run.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/run.c')
-rw-r--r-- | telepathy-glib/run.c | 3 |
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> |