summaryrefslogtreecommitdiff
path: root/src/libstddjb/localtm_from_ltm64.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/localtm_from_ltm64.c')
-rw-r--r--src/libstddjb/localtm_from_ltm64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstddjb/localtm_from_ltm64.c b/src/libstddjb/localtm_from_ltm64.c
index 63c5aac..d549df9 100644
--- a/src/libstddjb/localtm_from_ltm64.c
+++ b/src/libstddjb/localtm_from_ltm64.c
@@ -1,7 +1,9 @@
/* ISC license. */
/* OpenBSD needs that for EOVERFLOW. wtfbsdseriously */
+#ifndef _BSD_SOURCE
#define _BSD_SOURCE
+#endif
#include <sys/types.h>
#include <errno.h>