diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-22 13:58:11 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-22 13:58:11 +0000 |
commit | d44819ae9c55f4d3c0f347b2640f58a2deddebb4 (patch) | |
tree | 040c9d2c5ce734047af365df4b86edc33379dd70 /src/libbiguint | |
parent | 8923a6ffa3da869b5fc56b9b1f698f483e3180a4 (diff) | |
download | skalibs-d44819ae9c55f4d3c0f347b2640f58a2deddebb4.tar.xz |
Factor all the BSD complaints into one new header
Diffstat (limited to 'src/libbiguint')
-rw-r--r-- | src/libbiguint/bu_addc.c | 6 | ||||
-rw-r--r-- | src/libbiguint/bu_copy.c | 6 | ||||
-rw-r--r-- | src/libbiguint/bu_scan.c | 6 | ||||
-rw-r--r-- | src/libbiguint/bu_subc.c | 6 |
4 files changed, 4 insertions, 20 deletions
diff --git a/src/libbiguint/bu_addc.c b/src/libbiguint/bu_addc.c index a9c6dce..b6d1ccb 100644 --- a/src/libbiguint/bu_addc.c +++ b/src/libbiguint/bu_addc.c @@ -1,10 +1,6 @@ /* ISC license. */ -/* OpenBSD needs that for EOVERFLOW. wtfbsdseriously */ -#ifndef _BSD_SOURCE -#define _BSD_SOURCE -#endif - +#include <skalibs/bsdsnowflake.h> #include <errno.h> #include <skalibs/biguint.h> diff --git a/src/libbiguint/bu_copy.c b/src/libbiguint/bu_copy.c index 10f59b9..0c64417 100644 --- a/src/libbiguint/bu_copy.c +++ b/src/libbiguint/bu_copy.c @@ -1,10 +1,6 @@ /* ISC license. */ -/* OpenBSD needs that for EOVERFLOW. wtfbsdseriously */ -#ifndef _BSD_SOURCE -#define _BSD_SOURCE -#endif - +#include <skalibs/bsdsnowflake.h> #include <errno.h> #include <skalibs/biguint.h> diff --git a/src/libbiguint/bu_scan.c b/src/libbiguint/bu_scan.c index 44aa315..8d4ecd0 100644 --- a/src/libbiguint/bu_scan.c +++ b/src/libbiguint/bu_scan.c @@ -1,10 +1,6 @@ /* ISC license. */ -/* OpenBSD needs that for EOVERFLOW. wtfbsdseriously */ -#ifndef _BSD_SOURCE -#define _BSD_SOURCE -#endif - +#include <skalibs/bsdsnowflake.h> #include <errno.h> #include <skalibs/bitarray.h> #include <skalibs/biguint.h> diff --git a/src/libbiguint/bu_subc.c b/src/libbiguint/bu_subc.c index 69aa6ab..63147b0 100644 --- a/src/libbiguint/bu_subc.c +++ b/src/libbiguint/bu_subc.c @@ -1,10 +1,6 @@ /* ISC license. */ -/* OpenBSD needs that for EOVERFLOW. wtfbsdseriously */ -#ifndef _BSD_SOURCE -#define _BSD_SOURCE -#endif - +#include <skalibs/bsdsnowflake.h> #include <errno.h> #include <skalibs/biguint.h> |