summaryrefslogtreecommitdiff
path: root/src/libstddjb
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-10 11:34:06 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-10 11:34:06 +0000
commitcd44ac2b6b350bf66bc575053c7a7e7622c91e9c (patch)
tree4b64edab70d60811b82bb3f8405af11313135761 /src/libstddjb
parentb50873653627be1bd12ae070667cb919d667a39a (diff)
downloadskalibs-cd44ac2b6b350bf66bc575053c7a7e7622c91e9c.tar.xz
Add guards around EOVERFLOW defines. (Thanks, OpenBSD)
Diffstat (limited to 'src/libstddjb')
-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>