edje: fix edje_watch compilation on Windows.

This commit is contained in:
Cedric Bail 2013-03-15 11:20:10 +01:00
parent 69b5868005
commit 338412434c
2 changed files with 13 additions and 3 deletions

View File

@ -3365,6 +3365,10 @@ AC_SUBST([want_physics])
### Checks for header files
AC_CHECK_HEADERS([ \
sys/wait.h \
])
### Checks for types
### Checks for structures

View File

@ -2,13 +2,19 @@
# include "config.h"
#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 <Ecore.h>
#include <Eio.h>
#ifdef HAVE_EVIL
# include <Evil.h>
#ifdef _WIN32
# define WEXITSTATUS(r) r
#endif
static char watchfile[PATH_MAX];