This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] Add missing includes to sysdeps/generic/malloc-sysdep.h.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Tue, 5 Feb 2013 11:35:07 -0800 (PST)
- Subject: [COMMITTED PATCH] Add missing includes to sysdeps/generic/malloc-sysdep.h.
2013-02-05 Roland McGrath <roland@hack.frob.com>
* sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
--- a/sysdeps/generic/malloc-sysdep.h
+++ b/sysdeps/generic/malloc-sysdep.h
@@ -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