git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix definition of environ on Mac OS X (bugzilla: #5412).
[kai/samba.git]
/
lib
/
replace
/
libreplace.m4
diff --git
a/lib/replace/libreplace.m4
b/lib/replace/libreplace.m4
index 5e13d4a47ec89a561aa0a8ea50a80f0c28d59cc0..6f1543863a673100ef90b1b1e3d85e515ff2f4ab 100644
(file)
--- a/
lib/replace/libreplace.m4
+++ b/
lib/replace/libreplace.m4
@@
-222,6
+222,7
@@
AC_CHECK_TYPE(comparison_fn_t,
AC_HAVE_DECL(setenv, [#include <stdlib.h>])
AC_CHECK_FUNCS(setenv unsetenv)
+AC_HAVE_DECL(environ, [#include <unistd.h>])
AC_CHECK_FUNCS(strnlen)
AC_CHECK_FUNCS(strtoull __strtoull strtouq strtoll __strtoll strtoq)