aboutsummaryrefslogtreecommitdiff
path: root/include/spm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/spm.h')
-rw-r--r--include/spm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/spm.h b/include/spm.h
index e4b866b..032a19b 100644
--- a/include/spm.h
+++ b/include/spm.h
@@ -92,4 +92,9 @@ _1________________________________________________"
// GLOBALS
spm_vars SPM_GLOBAL;
+#ifdef __APPLE__
+extern char **environ;
+#define __environ environ
+#endif
+
#endif //SPM_SPM_H