about summary refs log tree commit diff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-09-01 17:14:43 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-09-01 17:14:43 +0000
commitc18d50a23b0d77a99afad8b688def52d19362d2f (patch)
treee647a330e59f0a6d1bf983b1465678884f34be9f /sysdeps/unix/sysv
parentbedbd85972a67f15688ee7e86bf4d533f2197349 (diff)
downloadglibc-c18d50a23b0d77a99afad8b688def52d19362d2f.tar.gz
glibc-c18d50a23b0d77a99afad8b688def52d19362d2f.tar.xz
glibc-c18d50a23b0d77a99afad8b688def52d19362d2f.zip
Include <string.h> for strcmp call from sysdeps/unix/sysv/linux/gentempfd.c.
	* sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/gentempfd.c1
1 files changed, 1 insertions, 0 deletions
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)