aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/gentempfd.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fccac95175..5c5dd35d4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-09-01 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
+
2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
* csu/version.c (banner): Remove "by Roland McGrath et al.".
diff --git a/sysdeps/unix/sysv/linux/gentempfd.c b/sysdeps/unix/sysv/linux/gentempfd.c
index 902cbe286e..ff3a649860 100644
--- a/sysdeps/unix/sysv/linux/gentempfd.c
+++ b/sysdeps/unix/sysv/linux/gentempfd.c
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
+#include <string.h>
int
__gen_tempfd (int flags)