summaryrefslogtreecommitdiff
path: root/libc/misc/internals
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2010-09-06 00:45:10 +0200
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-09-06 00:46:18 +0200
commit22e1466e367213304640da7697d75760a0883046 (patch)
tree7359e90278da92ba6bcad2d7960359b8a1ee05ef /libc/misc/internals
parent2d276198b4b9987ee8ac62cd680d6027077a65ef (diff)
misc: Fix build error about missing PAGE_SIZE
This patch fixes the following build error: CC libc/misc/internals/__h_errno_location.os CC libc/misc/internals/parse_config.os libc/misc/internals/parse_config.c: In function 'bb_get_chunk_with_continuation': libc/misc/internals/parse_config.c:77: error: 'PAGE_SIZE' undeclared (first use in this function) libc/misc/internals/parse_config.c:77: error: (Each undeclared identifier is reported only once libc/misc/internals/parse_config.c:77: error: for each function it appears in.) make[2]: *** [libc/misc/internals/parse_config.os] Error 1 Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/misc/internals')
-rw-r--r--libc/misc/internals/parse_config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/misc/internals/parse_config.c b/libc/misc/internals/parse_config.c
index e38025f2b..8fa324e10 100644
--- a/libc/misc/internals/parse_config.c
+++ b/libc/misc/internals/parse_config.c
@@ -44,6 +44,7 @@ int parse_main(int argc UNUSED_PARAM, char **argv)
# include <unistd.h>
# include <string.h>
# include <malloc.h>
+# include <bits/uClibc_page.h>
# include "internal/parse_config.h"
# ifndef FAST_FUNC
# define FAST_FUNC