aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-01 13:03:11 -0400
committerDavid Robillard <d@drobilla.net>2016-10-01 13:03:11 -0400
commit538bc9fbd498088dc1812f16dcfe83e3a3c20781 (patch)
treefb668669337975de73d9494e83e77d96f5625d65
parentcd4c912f36d417fa6dbb40dae48ce682a7a826d9 (diff)
downloadjalv-538bc9fbd498088dc1812f16dcfe83e3a3c20781.tar.gz
jalv-538bc9fbd498088dc1812f16dcfe83e3a3c20781.tar.bz2
jalv-538bc9fbd498088dc1812f16dcfe83e3a3c20781.zip
Transition away from deprecated _BSD_SOURCE
-rw-r--r--src/jalv_console.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jalv_console.c b/src/jalv_console.c
index d3f3389..c0f369c 100644
--- a/src/jalv_console.c
+++ b/src/jalv_console.c
@@ -16,7 +16,8 @@
#define _POSIX_C_SOURCE 200809L
#define _XOPEN_SOURCE 600
-#define _BSD_SOURCE
+#define _BSD_SOURCE 1
+#define _DEFAULT_SOURCE 1
#include <stdbool.h>
#include <stdio.h>