libbsd/include/bsd/sys
Guillem Jover 1f8a3f7bcc Fix function declaration protection for glibc already providing them
On non-glibc based systems we cannot unconditionally use the
__GLIBC_PREREQ macro as it gets expanded before evaluation. Instead,
if it is undefined, define it to 0.

We should also always declare these functions on non-glibc based
systems. And on systems with a new enough glibc, which provides these
functions, we should still provide the declarations if _GNU_SOURCE
is *not* defined.

Reported-by: Jörg Krause <joerg.krause@embedded.rocks>
2018-03-13 02:28:53 +01:00
..
bitstring.h Namespace header inclusion protection macros 2017-06-19 03:17:21 +02:00
cdefs.h Fix function declaration protection for glibc already providing them 2018-03-13 02:28:53 +01:00
endian.h Relicense my contribution to BSD-2-clause 2015-12-07 03:24:47 +01:00
poll.h Add email address to my name 2012-05-29 04:51:45 +02:00
queue.h Handle systems missing <sys/cdefs.h> 2018-03-13 02:28:53 +01:00
time.h Import <sys/time.h> for some of its macros 2017-06-19 03:17:21 +02:00
tree.h Handle systems missing <sys/cdefs.h> 2018-03-13 02:28:53 +01:00