summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-04-30 10:02:31 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-04-30 10:02:31 +0000
commitb626785ad87ac7c7e7581cb5381a3430cd5f4252 (patch)
treeac3a271b6924601986fa6f020199fe6b05db63da /src
parentb15c4329b10e422d85673e1708ce20bb0116598e (diff)
downloadskalibs-b626785ad87ac7c7e7581cb5381a3430cd5f4252.tar.xz
Add _DEFAULT_SOURCE ftm to skalibs/nonposix.h
Diffstat (limited to 'src')
-rw-r--r--src/include/skalibs/nonposix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/skalibs/nonposix.h b/src/include/skalibs/nonposix.h
index ebce175..56a428a 100644
--- a/src/include/skalibs/nonposix.h
+++ b/src/include/skalibs/nonposix.h
@@ -38,6 +38,9 @@
#ifndef _BSD_SOURCE
#define _BSD_SOURCE
#endif
+#ifndef _DEFAULT_SOURCE
+#define _DEFAULT_SOURCE
+#endif
/* NetBSD: of course they had to have their own macros. */