diff options
author | Roland McGrath <roland@hack.frob.com> | 2013-02-05 11:34:06 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2013-02-05 11:34:06 -0800 |
commit | eab55bfb14f5e1ea6f522d81632ce5a1b8a8c942 (patch) | |
tree | 80730c3b8869e5ede675a7ce5441bcf2dcdc4c41 | |
parent | f9834ea4774532f13c49a527c64eda1c0587f910 (diff) | |
download | glibc-eab55bfb14f5e1ea6f522d81632ce5a1b8a8c942.tar.gz glibc-eab55bfb14f5e1ea6f522d81632ce5a1b8a8c942.tar.xz glibc-eab55bfb14f5e1ea6f522d81632ce5a1b8a8c942.zip |
Add missing includes to sysdeps/generic/malloc-sysdep.h.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/generic/malloc-sysdep.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 3ca2253fb8..9c97e4be02 100644 --- 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 diff --git a/sysdeps/generic/malloc-sysdep.h b/sysdeps/generic/malloc-sysdep.h index 3f7892b150..18980bc826 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 |