about summary refs log tree commit diff
path: root/nss/makedb.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2012-05-10 15:17:40 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 15:57:26 -0700
commit8069478040336a7de3461be275432493cc7e4c91 (patch)
tree69a2486558385dcacd917aae398c37d72ae353c3 /nss/makedb.c
parent66cbbebcc616db8e221e81f7ecbb2c77701d031b (diff)
downloadglibc-8069478040336a7de3461be275432493cc7e4c91.tar.gz
glibc-8069478040336a7de3461be275432493cc7e4c91.tar.xz
glibc-8069478040336a7de3461be275432493cc7e4c91.zip
Hurd: mmap deficiencies
Diffstat (limited to 'nss/makedb.c')
-rw-r--r--nss/makedb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nss/makedb.c b/nss/makedb.c
index 5c073a7440..5890c054f0 100644
--- a/nss/makedb.c
+++ b/nss/makedb.c
@@ -48,6 +48,10 @@
 # include <selinux/selinux.h>
 #endif
 
+#ifndef MAP_POPULATE
+# define MAP_POPULATE 0
+#endif
+
 #define PACKAGE _libc_intl_domainname
 
 /* List of data bases.  */