summaryrefslogtreecommitdiffstats
path: root/devel/libbonobo/files/patch-bonobo-activation_bonobo-activation-client.c
blob: f6e0934541f489cb8ace246f121fcc33136fe25a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- bonobo-activation/bonobo-activation-client.c.orig   Wed Dec 10 11:53:32 2003
+++ bonobo-activation/bonobo-activation-client.c    Wed Dec 10 12:00:19 2003
@@ -197,6 +197,8 @@
         return result;
 }
 
+extern char **environ;
+
 void
 bonobo_activation_register_client (Bonobo_ActivationContext context,
                                    CORBA_Environment       *ev)
@@ -217,7 +219,7 @@
                 bonobo_activation_hostname_get ());
 
         /* send environment to activation server */
-        client_env._buffer = __environ;
+        client_env._buffer = environ;
         if (client_env._buffer) {
                 for (i = 0; client_env._buffer[i]; ++i);
                 client_env._length = i;