X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c3a15ba92f5799fbc8db36f7650726d4fc38f92b..9833360b251571f82749c352f49d712c9c8322ad:/client/whereami.c?ds=sidebyside diff --git a/client/whereami.c b/client/whereami.c index aa702adc..a8531889 100644 --- a/client/whereami.c +++ b/client/whereami.c @@ -10,7 +10,10 @@ extern "C" { #endif +#if defined(__linux__) +// make realpath() available: #define _DEFAULT_SOURCE +#endif #if !defined(WAI_MALLOC) || !defined(WAI_FREE) || !defined(WAI_REALLOC) #include