From: pwpiwi Date: Mon, 27 Feb 2017 07:39:12 +0000 (+0100) Subject: fix for Kali Linux users (Issue #218) X-Git-Tag: v3.0.0~64 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/a9d08ed0d542e2bbbef6d7cb9aaa79cc6c6d4046?ds=sidebyside;hp=--cc fix for Kali Linux users (Issue #218) --- a9d08ed0d542e2bbbef6d7cb9aaa79cc6c6d4046 diff --git a/client/whereami.c b/client/whereami.c index 021ad874..7c09894f 100644 --- a/client/whereami.c +++ b/client/whereami.c @@ -10,6 +10,11 @@ extern "C" { #endif +#if defined(__linux__) +// make realpath() available: +#define _DEFAULT_SOURCE +#endif + #if !defined(WAI_MALLOC) || !defined(WAI_FREE) || !defined(WAI_REALLOC) #include #endif