diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-03-09 11:41:08 +0530 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-03-13 09:46:18 +0100 |
commit | f0489b5c7945ff32a4856e4705ce90576b4dece0 (patch) | |
tree | 723446167809791e6ae84c687a094248f15a8d54 /extra/scripts/gen_bits_syscall_h.sh | |
parent | f4fe313d5084ec49e50f3b6379d44f63179ce835 (diff) |
LT{,.old}: include stddef.h for size_t
A user application built with -D_POSIX_C_SOURCE=200112L and
#include signal.h, yields following compilation error:
------------------->8-----------------------------
arc-linux-uclibc-gcc -D_POSIX_C_SOURCE=200112L hello.c
In file included from
/opt/INSTALL/lib/gcc/arc-linux-uclibc/4.4.7/../../../../arc-linux-uclibc/sys-include/signal.h:429,
from hello.c:1:
/opt/INSTALL/lib/gcc/arc-linux-uclibc/4.4.7/../../../../arc-linux-uclibc/sys-include/bits/pthreadtypes.h:48:
error: expected specifier-qualifier-list before 'size_t'
------------------->8-----------------------------
The fix is to make sure size_t is explicitly provided to pthreadtype.h
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'extra/scripts/gen_bits_syscall_h.sh')
0 files changed, 0 insertions, 0 deletions