aboutsummaryrefslogtreecommitdiff
path: root/editor.c
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2014-09-19 13:54:45 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-19 14:04:22 +0200
commitf01457b003d3b0d996f1f2e97112015b8df26fdb (patch)
treed25ccb634ac652eb7915694d3549638648521009 /editor.c
parent43a4ad606d2bed35bdb418bffe42d885f57c042b (diff)
downloadvis-f01457b003d3b0d996f1f2e97112015b8df26fdb.tar.gz
vis-f01457b003d3b0d996f1f2e97112015b8df26fdb.tar.xz
This fixes warning with latest glibc (>= 2.19.90), which deprecated _BSD_SOURCE
warning: _BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE Commit 4f537d8e4bd9707a0048289f296510b76ce6d642 just fixed one of three cases. Fix the remaining.
Diffstat (limited to 'editor.c')
-rw-r--r--editor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor.c b/editor.c
index e0f27cf..367c40b 100644
--- a/editor.c
+++ b/editor.c
@@ -1,3 +1,4 @@
+#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#include <stdlib.h>
#include <string.h>