about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-11-24 03:12:25 +0000
committerUlrich Drepper <drepper@redhat.com>2007-11-24 03:12:25 +0000
commit715db78bd4108b1bf2683345b9b03f684055f0bd (patch)
tree6e05a1da40c37c0c137ae558db1d75688c8d6068 /sysdeps/unix
parentc012be6f99bd335830c9b620f184749f9f72fea5 (diff)
downloadglibc-715db78bd4108b1bf2683345b9b03f684055f0bd.tar.gz
glibc-715db78bd4108b1bf2683345b9b03f684055f0bd.tar.xz
glibc-715db78bd4108b1bf2683345b9b03f684055f0bd.zip
* sysdeps/unix/sysv/linux/check_native.c: Include <asm/types.h>.
	* nscd/mem.c (gc): Don't allocate arrays on the stack if they can
	Return zero in case the thread library is not NPTL.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/check_native.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/check_native.c b/sysdeps/unix/sysv/linux/check_native.c
index 1ae8dbb0b4..6e6624abe1 100644
--- a/sysdeps/unix/sysv/linux/check_native.c
+++ b/sysdeps/unix/sysv/linux/check_native.c
@@ -29,6 +29,7 @@
 #include <net/if_arp.h>
 #include <sys/ioctl.h>
 
+#include <asm/types.h>
 #include <linux/netlink.h>
 #include <linux/rtnetlink.h>