diff options
author | Tim Prouty <tprouty@samba.org> | 2008-10-13 15:33:49 -0700 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2008-10-13 17:53:58 -0700 |
commit | e11277e28db19841e941c62478d99d3780cd238b (patch) | |
tree | e148c5a1b72060561aaf3625778250973b3b1b0d /source4/smb_server | |
parent | 389cfee579a3222e6f536971af2fc0cb30596475 (diff) | |
download | samba-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.c | 1 |
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); |