diff --git a/src/ccode/fetcher_curl.c b/src/ccode/fetcher_curl.c index c4739ec..19cb1e4 100755 --- a/src/ccode/fetcher_curl.c +++ b/src/ccode/fetcher_curl.c @@ -9,6 +9,10 @@ #include +#ifdef __STRICT_ANSI__ +#define strdup(A) strcpy(calloc(strlen(A) + 1, sizeof(char)), A) +#endif + #ifndef PATH_MAX #define PATH_MAX 1024 #endif