From c3a15ba92f5799fbc8db36f7650726d4fc38f92b Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 26 Feb 2017 22:01:38 +0100 Subject: [PATCH] FIX: should be defined earlier. --- client/whereami.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/whereami.c b/client/whereami.c index 48e87c7f..aa702adc 100644 --- a/client/whereami.c +++ b/client/whereami.c @@ -10,6 +10,8 @@ extern "C" { #endif +#define _DEFAULT_SOURCE + #if !defined(WAI_MALLOC) || !defined(WAI_FREE) || !defined(WAI_REALLOC) #include #endif @@ -160,7 +162,6 @@ int WAI_PREFIX(getModulePath)(char* out, int capacity, int* dirname_length) */ #elif defined(__linux__) -#define _DEFAULT_SOURCE #include #include #include -- 2.39.2