summaryrefslogtreecommitdiff
path: root/src/libbiguint
diff options
context:
space:
mode:
Diffstat (limited to 'src/libbiguint')
-rw-r--r--src/libbiguint/bu_addc.c6
-rw-r--r--src/libbiguint/bu_copy.c6
-rw-r--r--src/libbiguint/bu_scan.c6
-rw-r--r--src/libbiguint/bu_subc.c6
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>