diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/fd_to_filename.h | 2 |
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) |