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:
84401ec
)
Include <stdlib.h> for envion on Windows (cherry picked from commit 5874d104f52a0ef4d...
author
Christian Ehrlicher
<Ch.Ehrlicher@gmx.de>
Mon, 27 Apr 2009 12:34:45 +0000
(14:34 +0200)
committer
unknown
<Administrator@.(none)>
Sun, 29 Nov 2009 18:30:39 +0000
(19:30 +0100)
dbus/dbus-sysdeps.c
patch
|
blob
|
history
diff --git
a/dbus/dbus-sysdeps.c
b/dbus/dbus-sysdeps.c
index
ccd80cc
..
430dd2d
100644
(file)
--- a/
dbus/dbus-sysdeps.c
+++ b/
dbus/dbus-sysdeps.c
@@
-51,7
+51,11
@@
_DBUS_DEFINE_GLOBAL_LOCK (win_fds);
_DBUS_DEFINE_GLOBAL_LOCK (sid_atom_cache);
_DBUS_DEFINE_GLOBAL_LOCK (system_users);
+#ifdef DBUS_WIN
+ #include <stdlib.h>
+#else
extern char **environ;
+#endif
/**
* @defgroup DBusSysdeps Internal system-dependent API