summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/smb_server/smb_samba3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/smb_samba3.c b/source4/smb_server/smb_samba3.c
index 259d29039d..ea589a0579 100644
--- a/source4/smb_server/smb_samba3.c
+++ b/source4/smb_server/smb_samba3.c
@@ -47,6 +47,7 @@ static void samba3_smb_accept(struct stream_connection *conn)
const char *prog;
char *argv[2];
char *reason;
+ extern char **environ;
close(0);
close(1);