about summary refs log tree commit diff
diff options
context:
space:
mode:
-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"