git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@55975
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
have_addrinfo="yes"
;;
*)
- AC_CHECK_HEADERS([dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h])
+ AC_CHECK_HEADERS([dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h sys/param.h unistd.h libgen])
;;
esac
#include <fcntl.h>
#include <errno.h>
-#ifndef _MSC_VER
+#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef HAVE_EVIL
# include <Evil.h>
#endif
+
#include <Eina.h>
#include "Ecore.h"
#include <stdlib.h>
-#ifndef _MSC_VER
+#ifdef HAVE_UNISTD_H
# include <unistd.h>
-#else
+#endif
+
+#ifdef _MSC_VER
# include <process.h>
#endif
#include <errno.h>
#include <fcntl.h>
-#ifndef _MSC_VER
+#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
# include <unistd.h>
-#else
+#endif
+
+#ifdef _MSC_VER
# include <float.h>
#endif
#define FIX_HZ 1
#ifdef FIX_HZ
-# ifndef _MSC_VER
+# ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
# endif
# ifndef HZ
# include <Evil.h>
#endif
-#include "Ecore.h"
-#include "ecore_private.h"
-
#ifdef HAVE_SYS_EPOLL_H
# define HAVE_EPOLL
# include <sys/epoll.h>
# include <glib.h>
#endif
+#include "Ecore.h"
+#include "ecore_private.h"
+
struct _Ecore_Fd_Handler
{
EINA_INLIST;
#include <stdio.h>
#include <string.h>
-#ifndef _MSC_VER
+#ifdef HAVE_UNISTD_H
# include <unistd.h>
+#endif
+
+#ifdef HAVE_LIBGEN_H
# include <libgen.h>
#endif
#ifdef HAVE_FEATURES_H
# include <features.h>
#endif
+
#include <ctype.h>
#include <errno.h>