summaryrefslogtreecommitdiff
path: root/include/sys/select.h
diff options
context:
space:
mode:
authorNatanael Copa2016-07-14 16:45:11 +0200
committersin2016-07-14 16:09:13 +0100
commit9880d5864bfa5ae3fa6ca7b739953ac5f74524be (patch)
treec72bc12d89cde2ef0a9c95d4fcb509fdb0979572 /include/sys/select.h
parent578b693300171edfbbefb4b14f1bc9bd46f94a1f (diff)
Only include limits.h when actually used
The __extension__ seems to trigger a bug in gcc when there are no identifier specified afterwards. Testcase: echo "#include <stdlib.h>" > try.c && cc -O0 -c try.c try.c:2:0: error: expected identifier or '(' at end of input With -O2 it does not happen. We work around this by only pulling in limits.h when we actually need the PATH_MAX. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Diffstat (limited to 'include/sys/select.h')
0 files changed, 0 insertions, 0 deletions