diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am index 94e05a33fe..0c71e4bb00 100644 --- a/src/Makefile_Edje.am +++ b/src/Makefile_Edje.am @@ -184,6 +184,9 @@ $(CWARNFLAGS) \ -DTARGET_CR=13 \ -DTARGET_TAB=9 \ -DTARGET_VT=11 +if HAVE_WIN32 +bin_edje_epp_epp_LDADD = lib/evil/libevil.la +endif # TODO: why keep these? EXTRA_DIST += \ diff --git a/src/bin/edje/epp/cppexp.c b/src/bin/edje/epp/cppexp.c index c5712c0c76..d61e05459c 100644 --- a/src/bin/edje/epp/cppexp.c +++ b/src/bin/edje/epp/cppexp.c @@ -45,6 +45,12 @@ #include "cpplib.h" #include "cpphash.h" +#ifdef _WIN32 +# ifdef ERROR +# undef ERROR +# endif +#endif + /* This is used for communicating lists of keywords with cccp.c. */ struct arglist { struct arglist *next; diff --git a/src/bin/edje/epp/cpplib.c b/src/bin/edje/epp/cpplib.c index 163075f90f..d7018fd507 100644 --- a/src/bin/edje/epp/cpplib.c +++ b/src/bin/edje/epp/cpplib.c @@ -79,7 +79,9 @@ const char *version_string = "0.0.0"; #ifndef USG #include #include /* for __DATE__ and __TIME__ */ -#include +#ifdef HAVE_SYS_RESOURCE_H +# include +#endif #else #include /* CYGNUS LOCAL: shebs -noquiet */ #include