about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-09-09 10:08:49 +0000
committerAndreas Jaeger <aj@suse.de>2000-09-09 10:08:49 +0000
commitb3e6e3e367322be1d1b8290938153fae35d5c72c (patch)
treeb9a5bc1a6bd4ae3a52b256030627f6edf66d6d21 /sysdeps
parent5f1573151c6a28aa96b00ea36f6a7331acf5dc20 (diff)
downloadglibc-b3e6e3e367322be1d1b8290938153fae35d5c72c.tar.gz
glibc-b3e6e3e367322be1d1b8290938153fae35d5c72c.tar.xz
glibc-b3e6e3e367322be1d1b8290938153fae35d5c72c.zip
Include <string.h> for strncpy prototype.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/dl-osinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h
index a29d255f50..cc0694a130 100644
--- a/sysdeps/unix/sysv/linux/dl-osinfo.h
+++ b/sysdeps/unix/sysv/linux/dl-osinfo.h
@@ -17,6 +17,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <string.h>
 #include <sys/sysctl.h>
 #include <sys/utsname.h>
 #include "kernel-features.h"