summaryrefslogtreecommitdiff
path: root/src/libstddjb/time_from_tai.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-07-22 13:58:11 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-07-22 13:58:11 +0000
commitd44819ae9c55f4d3c0f347b2640f58a2deddebb4 (patch)
tree040c9d2c5ce734047af365df4b86edc33379dd70 /src/libstddjb/time_from_tai.c
parent8923a6ffa3da869b5fc56b9b1f698f483e3180a4 (diff)
downloadskalibs-d44819ae9c55f4d3c0f347b2640f58a2deddebb4.tar.xz
Factor all the BSD complaints into one new header
Diffstat (limited to 'src/libstddjb/time_from_tai.c')
-rw-r--r--src/libstddjb/time_from_tai.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libstddjb/time_from_tai.c b/src/libstddjb/time_from_tai.c
index 1f4ff2a..f3f9538 100644
--- a/src/libstddjb/time_from_tai.c
+++ b/src/libstddjb/time_from_tai.c
@@ -1,11 +1,7 @@
/* ISC license. */
-/* OpenBSD needs that for EOVERFLOW. wtfbsdseriously */
-#ifndef _BSD_SOURCE
-#define _BSD_SOURCE
-#endif
-
#include <skalibs/sysdeps.h>
+#include <skalibs/bsdsnowflake.h>
#include <time.h>
#include <errno.h>
#include <skalibs/uint64.h>