summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2012-01-10 19:37:32 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2012-07-10 10:36:37 +0530
commit6331db3fd251ddc350913cc1e8a7941740c25f63 (patch)
treee9283ee8126ded7ce30d2d7a6f5fd4f66cc16ba2
parent5af97ca8514d9fb4175bff3a79abf26889b94530 (diff)
downloadbionic-6331db3fd251ddc350913cc1e8a7941740c25f63.zip
bionic-6331db3fd251ddc350913cc1e8a7941740c25f63.tar.gz
bionic-6331db3fd251ddc350913cc1e8a7941740c25f63.tar.bz2
limits.h: Include page.h when relying on PAGE_SIZE
limits.h relies on PAGE_SIZE being defined without actually including page.h. Make sure this is included to avoid compilation failures. Signed-off-by: Arun Raghavan <arun.raghavan@collabora.co.uk>
-rw-r--r--libc/include/limits.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/include/limits.h b/libc/include/limits.h
index 1de8ea6..d691a8f 100644
--- a/libc/include/limits.h
+++ b/libc/include/limits.h
@@ -90,6 +90,7 @@
#endif
#ifndef PAGESIZE
+#include <asm/page.h>
#define PAGESIZE PAGE_SIZE
#endif