summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-09-08 13:25:04 +0100
committerJeremy Allison <jra@samba.org>2021-10-13 01:42:35 +0000
commite4eb1f151011d2bd6a2d39b156663ddd9126d345 (patch)
treed09c6ab7aa9e40497fc87b2491112a2c745feef1 /source3/printing
parentd3675e66fe8eec15076c6b88e47b627ee80c6f9e (diff)
downloadsamba-e4eb1f151011d2bd6a2d39b156663ddd9126d345.tar.gz
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>
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/queue_process.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/printing/queue_process.c b/source3/printing/queue_process.c
index 9e1d21469ff..64414bb7d65 100644
--- a/source3/printing/queue_process.c
+++ b/source3/printing/queue_process.c
@@ -343,8 +343,6 @@ fail:
return NULL;
}
-extern char **environ;
-
/****************************************************************************
main thread of the background lpq updater
****************************************************************************/