forked from enlightenment/efl
edje: fix edje_watch compilation on Windows.
This commit is contained in:
parent
69b5868005
commit
338412434c
|
@ -3365,6 +3365,10 @@ AC_SUBST([want_physics])
|
||||||
|
|
||||||
### Checks for header files
|
### Checks for header files
|
||||||
|
|
||||||
|
AC_CHECK_HEADERS([ \
|
||||||
|
sys/wait.h \
|
||||||
|
])
|
||||||
|
|
||||||
### Checks for types
|
### Checks for types
|
||||||
|
|
||||||
### Checks for structures
|
### Checks for structures
|
||||||
|
|
|
@ -2,13 +2,19 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/wait.h>
|
#ifdef HAVE_SYS_WAIT_H
|
||||||
|
# include <sys/wait.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_EVIL
|
||||||
|
# include <Evil.h>
|
||||||
|
#endif
|
||||||
#include <Eina.h>
|
#include <Eina.h>
|
||||||
#include <Ecore.h>
|
#include <Ecore.h>
|
||||||
#include <Eio.h>
|
#include <Eio.h>
|
||||||
#ifdef HAVE_EVIL
|
|
||||||
# include <Evil.h>
|
#ifdef _WIN32
|
||||||
|
# define WEXITSTATUS(r) r
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static char watchfile[PATH_MAX];
|
static char watchfile[PATH_MAX];
|
||||||
|
|
Loading…
Reference in New Issue