[git commit master 1/1] misc: Fix build error about missing PAGE_SIZE

Carmelo Amoroso carmelo.amoroso at st.com
Sun Sep 5 22:46:18 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=22e1466e367213304640da7697d75760a0883046
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

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 at embtoolkit.org>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
---
 libc/misc/internals/parse_config.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libc/misc/internals/parse_config.c b/libc/misc/internals/parse_config.c
index e38025f..8fa324e 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
-- 
1.7.1



More information about the uClibc-cvs mailing list