diff --git a/src/bin/edje/edje_cc.c b/src/bin/edje/edje_cc.c index 1551032bc3..1963dae341 100644 --- a/src/bin/edje/edje_cc.c +++ b/src/bin/edje/edje_cc.c @@ -12,6 +12,10 @@ # include #endif +#ifdef _WIN32 +# include /* realpath */ +#endif + #include "edje_cc.h" int _edje_cc_log_dom = -1; static void main_help(void); diff --git a/src/bin/elementary/elm_prefs_cc.c b/src/bin/elementary/elm_prefs_cc.c index 9f5da87bf9..786330ad60 100644 --- a/src/bin/elementary/elm_prefs_cc.c +++ b/src/bin/elementary/elm_prefs_cc.c @@ -7,6 +7,10 @@ #include #include +#ifdef _WIN32 +# include /* realpath */ +#endif + #include "elm_prefs_cc.h" int _elm_prefs_cc_log_dom = -1; diff --git a/src/lib/evil/evil_stdlib.h b/src/lib/evil/evil_stdlib.h index 34c9f7c65f..a5645b7585 100644 --- a/src/lib/evil/evil_stdlib.h +++ b/src/lib/evil/evil_stdlib.h @@ -115,6 +115,9 @@ EAPI int mkstemps(char *__template, int suffixlen); * Supported OS: Windows XP. */ EAPI char *realpath(const char *file_name, char *resolved_name); +#ifndef HAVE_REALPATH +#define HAVE_REALPATH 1 +#endif /**