summaryrefslogtreecommitdiff
path: root/science/gnudatalanguage/files/patch-src__basic_fun.cpp
blob: 24d2811b189f6ca5e31bc896671fe3fa4356b553 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/basic_fun.cpp.orig	Mon Oct 17 10:22:04 2005
+++ src/basic_fun.cpp	Mon Oct 24 21:08:57 2005
@@ -32,6 +32,9 @@
 #else
 #include <unistd.h>
 #endif
+#if defined(__FreeBSD__)
+    extern "C" char **environ;
+#endif
 
 #include "datatypes.hpp"
 #include "envt.hpp"
@@ -2903,6 +2906,7 @@
 
   BaseGDL* getenv_fun( EnvT* e)
   {
+
     SizeT nParam=e->NParam();
 
     static int environmentIx = e->KeywordIx( "ENVIRONMENT" );