summaryrefslogtreecommitdiff
path: root/test/nptl/tst-flock2.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-03-09 11:41:08 +0530
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-03-13 09:46:18 +0100
commitf0489b5c7945ff32a4856e4705ce90576b4dece0 (patch)
tree723446167809791e6ae84c687a094248f15a8d54 /test/nptl/tst-flock2.c
parentf4fe313d5084ec49e50f3b6379d44f63179ce835 (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 'test/nptl/tst-flock2.c')
0 files changed, 0 insertions, 0 deletions