git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@55967
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
AC_HEADER_ASSERT
AC_HEADER_DIRENT
AC_HEADER_TIME
+AC_CHECK_HEADERS([unistd.h libgen.h])
EFL_CHECK_PATH_MAX
### Checks for types
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+
#ifdef _MSC_VER
# include <Evil.h>
-#else
-# include <stdint.h>
#endif
#include "eina_config.h"
#include <assert.h>
#include <errno.h>
-#ifndef _MSC_VER
+#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <dirent.h>
#include <string.h>
-#ifndef _MSC_VER
+#ifdef HAVE_LIBGEN_H
# include <libgen.h>
-#else
-# include <Evil.h>
#endif
#include <dlfcn.h>