]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: should be defined earlier.
authoriceman1001 <iceman@iuse.se>
Sun, 26 Feb 2017 21:01:38 +0000 (22:01 +0100)
committericeman1001 <iceman@iuse.se>
Sun, 26 Feb 2017 21:01:38 +0000 (22:01 +0100)
client/whereami.c

index 48e87c7fad35fd5547eccac857dc4b37f08a0627..aa702adc22a19105927a04ed60d7631190bb40ea 100644 (file)
@@ -10,6 +10,8 @@
 extern "C" {
 #endif
 
+#define _DEFAULT_SOURCE
+
 #if !defined(WAI_MALLOC) || !defined(WAI_FREE) || !defined(WAI_REALLOC)
 #include <stdlib.h>
 #endif
@@ -160,7 +162,6 @@ int WAI_PREFIX(getModulePath)(char* out, int capacity, int* dirname_length)
 */
 
 #elif defined(__linux__)
-#define _DEFAULT_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
Impressum, Datenschutz