diff options
| author | Natanael Copa | 2016-07-14 16:45:11 +0200 |
|---|---|---|
| committer | sin | 2016-07-14 16:09:13 +0100 |
| commit | 9880d5864bfa5ae3fa6ca7b739953ac5f74524be (patch) | |
| tree | c72bc12d89cde2ef0a9c95d4fcb509fdb0979572 /README | |
| parent | 578b693300171edfbbefb4b14f1bc9bd46f94a1f (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 'README')
0 files changed, 0 insertions, 0 deletions
