From: Christian Ehrlicher Date: Mon, 27 Apr 2009 12:34:45 +0000 (+0200) Subject: Include for envion on Windows (cherry picked from commit 5874d104f52a0ef4d... X-Git-Tag: dbus-1.3.1~262 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=443f7a036a3f97ce83ea2fbe4fb5d735d1b85098;p=thirdparty%2Fdbus.git Include for envion on Windows (cherry picked from commit 5874d104f52a0ef4d956ab56376776d3e385072f) --- diff --git a/dbus/dbus-sysdeps.c b/dbus/dbus-sysdeps.c index ccd80ccda..430dd2db5 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 +#else extern char **environ; +#endif /** * @defgroup DBusSysdeps Internal system-dependent API