diff options
author | Christian Ehrlicher <Ch.Ehrlicher@gmx.de> | 2009-04-27 14:34:45 +0200 |
---|---|---|
committer | unknown <Administrator@.(none)> | 2009-11-29 19:30:39 +0100 |
commit | 443f7a036a3f97ce83ea2fbe4fb5d735d1b85098 (patch) | |
tree | 207334e11d4d9b6a316f8690307f0bdb64126b50 /dbus/dbus-sysdeps.c | |
parent | 84401ec697281090dc2d02c45504c6fdd174f5dd (diff) |
Include <stdlib.h> for envion on Windows (cherry picked from commit 5874d104f52a0ef4d956ab56376776d3e385072f)
Diffstat (limited to 'dbus/dbus-sysdeps.c')
-rw-r--r-- | dbus/dbus-sysdeps.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/dbus-sysdeps.c b/dbus/dbus-sysdeps.c index ccd80ccd..430dd2db 100644 --- 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 |