aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-06-22 20:45:00 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-06-22 20:46:41 +0100
commite3cbf24e8f058aeadcf60704a83d60e1b8f7838b (patch)
tree577ddd83761e50bbab6ad305fdf3a809c4964225
parent7a6ac5296c51b61a16ed90eb4dc712f0ec3d00b3 (diff)
downloadpaludis-e3cbf24e8f058aeadcf60704a83d60e1b8f7838b.tar.gz
paludis-e3cbf24e8f058aeadcf60704a83d60e1b8f7838b.tar.xz
environ needs to be declared manually, for BSD compatibility.
-rw-r--r--paludis/repositories/e/ebuild/utils/print_exports.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild/utils/print_exports.cc b/paludis/repositories/e/ebuild/utils/print_exports.cc
index c7fc24a..a75bd2e 100644
--- a/paludis/repositories/e/ebuild/utils/print_exports.cc
+++ b/paludis/repositories/e/ebuild/utils/print_exports.cc
@@ -19,7 +19,8 @@
#include <string>
#include <iostream>
-#include <unistd.h>
+
+extern char ** environ;
int
main()