--- components/components.cc.orig	2011-05-17 17:37:48.000000000 -0700
+++ components/components.cc	2011-05-17 17:43:04.000000000 -0700
@@ -23,10 +23,13 @@
 // Web Sites: www.iupr.org, www.dfki.de
 
 #include <unistd.h>
+#include <crt_externs.h>
 #include "colib/colib.h"
 #include "iulib.h"
 #include "components.h"
 
+#define environ (*_NSGetEnviron())
+
 using namespace colib;
 
 namespace {
