about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2014-06-12 14:15:25 +0200
committerMike Frysinger <vapier@gentoo.org>2014-06-14 18:13:12 -0400
commite1449bcd91f738ea4b0b6d75bb3e1f21827cf047 (patch)
treee5316f87ed7e9d24e0faba22c9f45610a0e12e59
parent49ca74fb26ce91b00de6df7bcae7ee2923f5f047 (diff)
downloadglibc-e1449bcd91f738ea4b0b6d75bb3e1f21827cf047.tar.gz
glibc-e1449bcd91f738ea4b0b6d75bb3e1f21827cf047.tar.xz
glibc-e1449bcd91f738ea4b0b6d75bb3e1f21827cf047.zip
posix_spawn_faction_addopen: Add missing string.h include directive
This is needed to avoid a PLT call on s390.

(cherry picked from commit 35a5e3e338ae17f3d42c60a708763c5d498fb840)

https://bugs.gentoo.org/513090
https://sourceware.org/bugzilla/show_bug.cgi?id=17048
-rw-r--r--posix/spawn_faction_addopen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/spawn_faction_addopen.c b/posix/spawn_faction_addopen.c
index 40800b8e6e..eba158c2bb 100644
--- a/posix/spawn_faction_addopen.c
+++ b/posix/spawn_faction_addopen.c
@@ -18,6 +18,7 @@
 #include <errno.h>
 #include <spawn.h>
 #include <unistd.h>
+#include <string.h>
 
 #include "spawn_int.h"