about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-17 03:43:53 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-17 03:43:53 +0000
commit12df29e2d24e96421b0ac7842acef79edb19c4af (patch)
tree0784604dcb291fd6ae22fd0d6da0fbf5b632c813
parent018f9a78d3d92a9ede6298a65c5edfef5805d5d6 (diff)
downloadglibc-12df29e2d24e96421b0ac7842acef79edb19c4af.tar.gz
glibc-12df29e2d24e96421b0ac7842acef79edb19c4af.tar.xz
glibc-12df29e2d24e96421b0ac7842acef79edb19c4af.zip
Include string.h in sysdeps/unix/sysv/linux/fxstatat.c.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/unix/sysv/linux/fxstatat.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 95e1809480..82c48f8fd0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
+
 	* elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
 
 	* posix/getconf-speclist.c: New file.
diff --git a/sysdeps/unix/sysv/linux/fxstatat.c b/sysdeps/unix/sysv/linux/fxstatat.c
index 89638ba805..9bb608957a 100644
--- a/sysdeps/unix/sysv/linux/fxstatat.c
+++ b/sysdeps/unix/sysv/linux/fxstatat.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2005, 2006, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2005-2012 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 <fcntl.h>
 #include <stddef.h>
 #include <stdio.h>
+#include <string.h>
 #include <sys/stat.h>
 #include <kernel_stat.h>