fix for Kali Linux users (Issue #218)

This commit is contained in:
pwpiwi 2017-02-27 08:39:12 +01:00
parent 5a6a7affc5
commit a9d08ed0d5

View file

@ -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 <stdlib.h>
#endif