From: iceman1001 Date: Sun, 26 Feb 2017 21:01:38 +0000 (+0100) Subject: FIX: should be defined earlier. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/c3a15ba92f5799fbc8db36f7650726d4fc38f92b FIX: should be defined earlier. --- 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