libbsd/include
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
..
bsd Fix function declaration protection for glibc already providing them 2018-03-13 02:28:53 +01:00
Makefile.am Import <sys/time.h> for some of its macros 2017-06-19 03:17:21 +02:00