diff options
author | 2016-07-13 12:31:00 +0100 | |
---|---|---|
committer | 2016-07-13 13:14:15 +0100 | |
commit | 8fb0ab46bbdfc12e7b85f05c00dc171fd564d204 (patch) | |
tree | 63f86403c6b7a5bf7fba2a91bbb6fc7eca924b85 /3rdparty/bx | |
parent | c904fc121c8728e1979c496e27a20725132cc894 (diff) |
bx: use system signal.h on glibc systems
On GNU/kFreeBSD, sys/signal.h is only a wrapper around glibc signal.h
anyway, leading to a #include loop in this case.
Diffstat (limited to '3rdparty/bx')
-rw-r--r-- | 3rdparty/bx/include/compat/freebsd/signal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/3rdparty/bx/include/compat/freebsd/signal.h b/3rdparty/bx/include/compat/freebsd/signal.h index fd7d90f336f..3040b56c3ce 100644 --- a/3rdparty/bx/include/compat/freebsd/signal.h +++ b/3rdparty/bx/include/compat/freebsd/signal.h @@ -1 +1,5 @@ +#ifdef __GLIBC__ +#include_next <signal.h> +#else #include <sys/signal.h> +#endif |