summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-05-16 14:29:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:04 -0500
commit206cdbb8e9a4a0900060d56510e58b85a2b8aec5 (patch)
treeddf6e7b172c00a0ec2cf3e30458e382c7a0821a0 /source/nsswitch/winbindd.h
parent1b5a712467ab8f35211b59bb703a42bdc5e0dfc0 (diff)
downloadsamba-206cdbb8e9a4a0900060d56510e58b85a2b8aec5.tar.gz
samba-206cdbb8e9a4a0900060d56510e58b85a2b8aec5.tar.xz
samba-206cdbb8e9a4a0900060d56510e58b85a2b8aec5.zip
r15634: Prevent passwords of winbindd's list of credential caches from beeing
swapped to disc using mlock(). (patch was reviewed by Jeremy). Guenther
Diffstat (limited to 'source/nsswitch/winbindd.h')
-rw-r--r--source/nsswitch/winbindd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd.h b/source/nsswitch/winbindd.h
index e5f1c9699ca..7d5330dccb2 100644
--- a/source/nsswitch/winbindd.h
+++ b/source/nsswitch/winbindd.h
@@ -33,6 +33,10 @@
#include "libnscd.h"
#endif
+#ifdef HAVE_SYS_MMAN_H
+#include <sys/mman.h>
+#endif
+
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND