summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-10-13 15:33:49 -0700
committerTim Prouty <tprouty@samba.org>2008-10-13 17:53:58 -0700
commite11277e28db19841e941c62478d99d3780cd238b (patch)
treee148c5a1b72060561aaf3625778250973b3b1b0d /source4/smb_server
parent389cfee579a3222e6f536971af2fc0cb30596475 (diff)
downloadsamba-e11277e28db19841e941c62478d99d3780cd238b.tar.gz
samba-e11277e28db19841e941c62478d99d3780cd238b.tar.bz2
samba-e11277e28db19841e941c62478d99d3780cd238b.zip
Fixed a variable undeclared compilation error
Explicitly declaring environ eliminates a compilation error on some systems.
Diffstat (limited to 'source4/smb_server')
-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);