summaryrefslogtreecommitdiff
path: root/source/include/includes.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-08-27 20:38:53 +0000
committerJeremy Allison <jra@samba.org>1998-08-27 20:38:53 +0000
commitd0e48a2d8072c3e77a57ac6a2fb5044c05f03b41 (patch)
tree8f51fb0e5b4ce8b76b4b2b834b1f8aa5246daaa8 /source/include/includes.h
parentcdc38c276d8344127c9edf35f24754c098a90754 (diff)
downloadsamba-d0e48a2d8072c3e77a57ac6a2fb5044c05f03b41.tar.gz
This is the stat cache code - seems to work fine (needs heavy
NetBench testing though.... :-). Attempts to efficiently reduce the number of stat() calls Samba does. Jeremy.
Diffstat (limited to 'source/include/includes.h')
-rw-r--r--source/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 38f07191647..4efa475424b 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -419,6 +419,10 @@ union semun {
#define HAVE_NETGROUP 1
#endif
+#if defined (HAVE_NETGROUP) && defined(HAVE_RPCSVC_YPCLNT_H)
+#include "rpcsvc/ypclnt.h"
+#endif
+
#ifndef ALLOW_CHANGE_PASSWORD
#if (defined(HAVE_TERMIOS_H) && defined(HAVE_DUP2) && defined(HAVE_SETSID))
#define ALLOW_CHANGE_PASSWORD 1