about summary refs log tree commit diff
path: root/src/ipc/semget.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-11-09 00:04:02 -0500
committerRich Felker <dalias@aerifal.cx>2013-11-09 00:04:02 -0500
commitf5980e330a331b83f99a25c522aae00170dff131 (patch)
treece6caa60da0d2167ac6dbf80e9b5c8100524ccda /src/ipc/semget.c
parent41a9ba25cd810fb86ad0d6943bf2d5556d91b99e (diff)
downloadmusl-f5980e330a331b83f99a25c522aae00170dff131.tar.gz
musl-f5980e330a331b83f99a25c522aae00170dff131.tar.xz
musl-f5980e330a331b83f99a25c522aae00170dff131.zip
adjust sys/wait.h not to produde errors in strict ISO C feature profile
siginfo_t is not available from signal.h when the strict ISO C feature
profile (e.g. passing -std=c99 to gcc without defining any other
feature test macros) is used, but the type is needed to declare
waitid. using sys/wait.h (or any POSIX headers) in strict ISO C mode
is an application bug, but in the interest of compatibility, it's best
to avoid producing gratuitous errors. the simplest fix I could find is
suppressing the declaration of waitid (and also signal.h inclusion,
since it's not needed for anything else) in this case, while still
exposing everything else in sys/wait.h
Diffstat (limited to 'src/ipc/semget.c')
0 files changed, 0 insertions, 0 deletions