summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2018-10-02 15:26:53 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2018-10-02 12:29:02 -0300
commita06fc4a53385709f80a866075f794646810b831e (patch)
tree64401595ab7124dedf30f8faa9c27de1fd8a5985
parenta1ccc0654b4e858022bed10f4fb5d5ab6df58b62 (diff)
downloadglibc-a06fc4a53385709f80a866075f794646810b831e.tar.gz
glibc-a06fc4a53385709f80a866075f794646810b831e.tar.xz
glibc-a06fc4a53385709f80a866075f794646810b831e.zip
Fix build from commit 0b727ed
	* sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/fd_to_filename.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1170619847..8128582eb7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+	* sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
+
 2018-10-02  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
diff --git a/sysdeps/unix/sysv/linux/fd_to_filename.h b/sysdeps/unix/sysv/linux/fd_to_filename.h
index 62bc9916b0..02476472af 100644
--- a/sysdeps/unix/sysv/linux/fd_to_filename.h
+++ b/sysdeps/unix/sysv/linux/fd_to_filename.h
@@ -17,6 +17,8 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <sys/stat.h>
+#include <string.h>
+#include <_itoa.h>
 
 #define FD_TO_FILENAME_SIZE ((sizeof ("/proc/self/fd/") - 1) \
 			     + (sizeof ("4294967295") - 1) + 1)