error: expected specifier-qualifier-list before...
Denys Vlasenko
vda.linux at googlemail.com
Thu Oct 22 23:30:58 UTC 2009
On Friday 23 October 2009 00:00, Cristian Ionescu-Idbohrn wrote:
> Linux ... 2.6.30-gentoo-r5 #1 SMP Mon Sep 21 11:16:30 CEST 2009 x86_64
> Intel(R) Core(TM) i7 CPU @ 9200 @ 2.67GHz GenuineIntel GNU/Linux
>
> In file included from libbb/appletlib.c:32:
> /usr/include/sys/user.h:32: error: expected specifier-qualifier-list before '__uint16_t'
> make[1]: *** [libbb/appletlib.o] Error 1
>
> Swapping 2 lines seems to correct that:
>
> --- libbb/appletlib.c.orig 2009-10-22 23:57:36.913293732 +0200
> +++ libbb/appletlib.c 2009-10-22 23:58:51.532769847 +0200
> @@ -29,8 +29,8 @@
>
> #include <assert.h>
> #include <malloc.h>
> -#include <sys/user.h> /* PAGE_SIZE */
> #include "busybox.h"
> +#include <sys/user.h> /* PAGE_SIZE */
>
>
> /* Declare <applet>_main() */
Applied, thanks!
--
vda
More information about the busybox
mailing list