aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/malloc-sysdep.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-02-05 11:34:06 -0800
committerRoland McGrath <roland@hack.frob.com>2013-02-05 11:34:06 -0800
commiteab55bfb14f5e1ea6f522d81632ce5a1b8a8c942 (patch)
tree80730c3b8869e5ede675a7ce5441bcf2dcdc4c41 /sysdeps/generic/malloc-sysdep.h
parentf9834ea4774532f13c49a527c64eda1c0587f910 (diff)
downloadglibc-eab55bfb14f5e1ea6f522d81632ce5a1b8a8c942.zip
glibc-eab55bfb14f5e1ea6f522d81632ce5a1b8a8c942.tar.gz
glibc-eab55bfb14f5e1ea6f522d81632ce5a1b8a8c942.tar.bz2
Add missing includes to sysdeps/generic/malloc-sysdep.h.
Diffstat (limited to 'sysdeps/generic/malloc-sysdep.h')
-rw-r--r--sysdeps/generic/malloc-sysdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/generic/malloc-sysdep.h b/sysdeps/generic/malloc-sysdep.h
index 3f7892b..18980bc 100644
--- 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