From 78187c2841368b443d2c9ee5cbebc95ce9553db0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Oct 2016 13:02:32 -0400 Subject: Transition away from deprecated _BSD_SOURCE --- src/util.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/util.c b/src/util.c index 864bcbb..0c1fd5e 100644 --- a/src/util.c +++ b/src/util.c @@ -16,6 +16,7 @@ #define _POSIX_C_SOURCE 200809L /* for fileno */ #define _BSD_SOURCE 1 /* for realpath, symlink */ +#define _DEFAULT_SOURCE 1 /* for realpath, symlink */ #ifdef __APPLE__ # define _DARWIN_C_SOURCE 1 /* for flock */ -- cgit v1.2.1