summaryrefslogtreecommitdiff
path: root/src/libs6dns
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-11-18 23:09:46 +0000
committerLaurent Bercot <ska@appnovation.com>2023-11-18 23:09:46 +0000
commit20d8277451d8fd7cbce316b80a0018bc2639335d (patch)
tree925753f6acdf8afc7e9877db2e9d2d88f1c0f47c /src/libs6dns
parentd06529686f89074fd4fa574ac6012f8a873e7857 (diff)
downloads6-dns-20d8277451d8fd7cbce316b80a0018bc2639335d.tar.xz
Fix old _BSD_SOURCE definitions
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libs6dns')
-rw-r--r--src/libs6dns/s6dns_debug_dumpdt_pre_send.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs6dns/s6dns_debug_dumpdt_pre_send.c b/src/libs6dns/s6dns_debug_dumpdt_pre_send.c
index 0d4ae19..c64f2ca 100644
--- a/src/libs6dns/s6dns_debug_dumpdt_pre_send.c
+++ b/src/libs6dns/s6dns_debug_dumpdt_pre_send.c
@@ -1,17 +1,17 @@
/* ISC license */
-/* For EOVERFLOW in OpenBSD */
-#ifndef _BSD_SOURCE
-#define _BSD_SOURCE
-#endif
+/* For EOVERFLOW */
+#include <skalibs/bsdsnowflake.h>
#include <string.h>
#include <stdint.h>
#include <errno.h>
+
#include <skalibs/uint16.h>
#include <skalibs/genwrite.h>
#include <skalibs/djbtime.h>
#include <skalibs/ip46.h>
+
#include <s6-dns/s6dns-ip46.h>
#include <s6-dns/s6dns-analyze.h>
#include <s6-dns/s6dns-debug.h>