projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94e7a1d
)
Conditionalize inclusion of unistd.h
author
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Wed, 29 Jun 2011 15:17:20 +0000
(16:17 +0100)
committer
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Fri, 5 Aug 2011 13:39:04 +0000
(14:39 +0100)
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>
bus/main.c
patch
|
blob
|
history
diff --git
a/bus/main.c
b/bus/main.c
index
9f1bf11
..
13a3770
100644
(file)
--- a/
bus/main.c
+++ b/
bus/main.c
@@
-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