mirror of
https://github.com/samba-team/samba.git
synced 2025-08-26 01:49:31 +03:00
source3/printing/queue_process.c: fix build on macOS
On macOS environ is defined to (*_NSGetEnviron()) in lib/replace/replace.h and otherwise the `extern char **environ` can be found there. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14862 Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
d3675e66fe
commit
e4eb1f1510
@ -343,8 +343,6 @@ fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
extern char **environ;
|
||||
|
||||
/****************************************************************************
|
||||
main thread of the background lpq updater
|
||||
****************************************************************************/
|
||||
|
Reference in New Issue
Block a user