summaryrefslogtreecommitdiff
path: root/lib/sbuild/auth/auth.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sbuild/auth/auth.cc')
-rw-r--r--lib/sbuild/auth/auth.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sbuild/auth/auth.cc b/lib/sbuild/auth/auth.cc
index cb15aad2..9db3f13d 100644
--- a/lib/sbuild/auth/auth.cc
+++ b/lib/sbuild/auth/auth.cc
@@ -31,6 +31,10 @@
#include <syslog.h>
#include <unistd.h>
+#ifndef HAVE_ENVIRON_DECLARED
+extern char **environ;
+#endif
+
#include <boost/format.hpp>
using std::cerr;