about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-06-26 13:21:58 -0700
committerRoland McGrath <roland@hack.frob.com>2014-06-26 13:21:58 -0700
commit28b0a8c9f3d322d04bee9beb54fc4d097098ba59 (patch)
tree8fbedf55de0b91850300aed1dda49ae585b2a374
parente66a82030094a472f30cf99e551ad821c39bd72a (diff)
downloadglibc-28b0a8c9f3d322d04bee9beb54fc4d097098ba59.tar.gz
glibc-28b0a8c9f3d322d04bee9beb54fc4d097098ba59.tar.xz
glibc-28b0a8c9f3d322d04bee9beb54fc4d097098ba59.zip
Add missing #include in spawn_faction_addopen.c
-rw-r--r--ChangeLog4
-rw-r--r--posix/spawn_faction_addopen.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f9f90abc8f..4ebff50be0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-06-26  Roland McGrath  <roland@hack.frob.com>
+
+	* posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
+
 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
 
 	* manual/texinfo.tex: Update to version 2014-05-05.10 with
diff --git a/posix/spawn_faction_addopen.c b/posix/spawn_faction_addopen.c
index eba158c2bb..40d5d098ba 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 <stdlib.h>
 #include <string.h>
 
 #include "spawn_int.h"