git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@63455
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
AC_HEADER_DIRENT
AC_HEADER_TIME
EFL_CHECK_PATH_MAX
-AC_CHECK_HEADERS([unistd.h libgen.h inttypes.h stdint.h])
+AC_CHECK_HEADERS([unistd.h libgen.h inttypes.h stdint.h sys/types.h])
if test "x${ac_cv_header_inttypes_h}" = "xyes" ; then
EINA_CONFIGURE_HAVE_INTTYPES_H="#define EINA_HAVE_INTTYPES_H"
#endif
#ifdef EFL_HAVE_THREADS
-# if !(defined(_WIN32_WCE)) && !(defined(_WIN32))
+# ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
+# endif
+# ifdef HAVE_UNISTD_H
# include <unistd.h>
# endif
#endif