diff options
author | Volker Lendecke <vl@samba.org> | 2008-02-01 13:04:10 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-02-01 13:06:23 +0100 |
commit | d49754944c8159b13cb25c25023db99ac7aa2e16 (patch) | |
tree | 2b1d817d4cffc99f020080acbaf633aca47baeae | |
parent | a8d59ebe81cfc8c653c8302a75df6e621cb771c8 (diff) | |
download | samba-d49754944c8159b13cb25c25023db99ac7aa2e16.tar.gz samba-d49754944c8159b13cb25c25023db99ac7aa2e16.tar.bz2 samba-d49754944c8159b13cb25c25023db99ac7aa2e16.zip |
NetBSD defines innetgr() in <netgroup.h>
(This used to be commit 7ad8e22073b577cd454675bacf92549e81f55e1c)
-rw-r--r-- | source3/configure.in | 1 | ||||
-rw-r--r-- | source3/include/includes.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index a054590b96..4bfb1db02e 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -965,6 +965,7 @@ AC_CHECK_HEADERS(sys/sysmacros.h) AC_CHECK_HEADERS(sys/syslog.h syslog.h) AC_CHECK_HEADERS(langinfo.h locale.h) AC_CHECK_HEADERS(xfs/libxfs.h) +AC_CHECK_HEADERS(netgroup.h) AC_CHECK_HEADERS(rpcsvc/yp_prot.h,,,[[ #if HAVE_RPC_RPC_H diff --git a/source3/include/includes.h b/source3/include/includes.h index b7fcc10ab1..041c431a58 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -250,6 +250,10 @@ typedef int ber_int_t; #include <langinfo.h> #endif +#if HAVE_NETGROUP_H +#include <netgroup.h> +#endif + #if defined(HAVE_AIO_H) && defined(WITH_AIO) #include <aio.h> #endif |