about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/check_native.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2011-06-14 13:11:39 -0700
committerRoland McGrath <roland@hack.frob.com>2011-06-14 13:11:39 -0700
commitc71ca1f89c6e89d8c4145e4c2fdcce2fc78812bd (patch)
treeb39e7db31cafff26e95498b2125652c581265002 /sysdeps/unix/sysv/linux/check_native.c
parent3154bfb8c7fb84fbf7ecdc787752b395579d2ac7 (diff)
downloadglibc-c71ca1f89c6e89d8c4145e4c2fdcce2fc78812bd.tar.gz
glibc-c71ca1f89c6e89d8c4145e4c2fdcce2fc78812bd.tar.xz
glibc-c71ca1f89c6e89d8c4145e4c2fdcce2fc78812bd.zip
Quash two memset undeclared warnings.
Diffstat (limited to 'sysdeps/unix/sysv/linux/check_native.c')
-rw-r--r--sysdeps/unix/sysv/linux/check_native.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/check_native.c b/sysdeps/unix/sysv/linux/check_native.c
index 6e6624abe1..dedce34803 100644
--- a/sysdeps/unix/sysv/linux/check_native.c
+++ b/sysdeps/unix/sysv/linux/check_native.c
@@ -1,5 +1,5 @@
 /* Determine whether interfaces use native transport.  Linux version.
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007,2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,6 +23,7 @@
 #include <stddef.h>
 #include <stdint.h>
 #include <stdlib.h>
+#include <string.h>
 #include <time.h>
 #include <unistd.h>
 #include <net/if.h>