fortify-headers/include
Natanael Copa 9880d5864b 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>
2016-07-14 16:09:13 +01:00
..
sys Add __extension__ mark to include_next to silence -pedantic 2015-06-25 10:18:26 +01:00
fortify-headers.h Use the __inline__ keyword instead of __inline to avoid breakage 2015-06-04 18:52:50 +01:00
poll.h Add __extension__ mark to include_next to silence -pedantic 2015-06-25 10:18:26 +01:00
stdio.h Add __extension__ mark to include_next to silence -pedantic 2015-06-25 10:18:26 +01:00
stdlib.h Only include limits.h when actually used 2016-07-14 16:09:13 +01:00
string.h Fix stpncpy() check 2015-07-15 17:02:27 +01:00
strings.h Use namespace-safe macro, param and variable names 2015-06-03 18:55:35 +01:00
unistd.h Fix confstr() check 2015-07-15 16:05:52 +01:00
wchar.h Fix wcrtomb() check 2015-07-15 15:55:56 +01:00