Add missing includes to sysdeps/generic/malloc-sysdep.h.
authorRoland McGrath <roland@hack.frob.com>
Tue, 5 Feb 2013 19:34:06 +0000 (11:34 -0800)
committerRoland McGrath <roland@hack.frob.com>
Tue, 5 Feb 2013 19:34:06 +0000 (11:34 -0800)
ChangeLog
sysdeps/generic/malloc-sysdep.h

index 3ca2253..9c97e4b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-02-05  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
+
 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
 
        * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
index 3f7892b..18980bc 100644 (file)
@@ -16,6 +16,9 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <stdbool.h>
+#include <unistd.h>
+
 /* Force an unmap when the heap shrinks in a secure exec.  This ensures that
    the old data pages immediately cease to be accessible.  */
 static inline bool