summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-18 01:19:32 +0000
committerJeremy Allison <jra@samba.org>1998-11-18 01:19:32 +0000
commita491ec96fc9fa19a164febd45309a47504fddc16 (patch)
tree667157b2a615c4f2c4978566be2291c4fed2a7ae /source3/include/includes.h
parent490439d77a7fe3daadce1f30f17f03896c6739aa (diff)
downloadsamba-a491ec96fc9fa19a164febd45309a47504fddc16.tar.gz
samba-a491ec96fc9fa19a164febd45309a47504fddc16.tar.bz2
samba-a491ec96fc9fa19a164febd45309a47504fddc16.zip
Fixed problem with HAVE_NETGROUP being used on platforms
that cannot support it. Jeremy. (This used to be commit 7a6f25ac4ab0f0bef7a66f26004c15120248ff66)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 24fb84c803..92b415efa1 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -585,7 +585,7 @@ union semun {
#define HAVE_PAM 1
#endif
-#if defined(HAVE_YP_GET_DEFAULT_DOMAIN)
+#if defined(HAVE_YP_GET_DEFAULT_DOMAIN) && defined(HAVE_SETNETGRENT) && defined(HAVE_ENDNETGRENT) && defined(HAVE_GETNETGRENT)
#define HAVE_NETGROUP 1
#endif