From d44819ae9c55f4d3c0f347b2640f58a2deddebb4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 22 Jul 2019 13:58:11 +0000 Subject: Factor all the BSD complaints into one new header --- src/libbiguint/bu_addc.c | 6 +----- src/libbiguint/bu_copy.c | 6 +----- src/libbiguint/bu_scan.c | 6 +----- src/libbiguint/bu_subc.c | 6 +----- 4 files changed, 4 insertions(+), 20 deletions(-) (limited to 'src/libbiguint') 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 #include #include 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 #include #include 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 #include #include #include 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 #include #include -- cgit v1.3.1