]> git.ipfire.org Git - thirdparty/samba.git/commit
source3/printing/queue_process.c: fix build on macOS
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Wed, 8 Sep 2021 12:25:04 +0000 (13:25 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 13 Oct 2021 01:42:35 +0000 (01:42 +0000)
commite4eb1f151011d2bd6a2d39b156663ddd9126d345
treed09c6ab7aa9e40497fc87b2491112a2c745feef1
parentd3675e66fe8eec15076c6b88e47b627ee80c6f9e
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>
source3/printing/queue_process.c