crashes on linux. this is REALLY bad. so remove these changes now.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@55981
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 sys/param.h unistd.h libgen])
+ AC_CHECK_HEADERS([dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h])
;;
esac
#include <fcntl.h>
#include <errno.h>
-#ifdef HAVE_UNISTD_H
+#ifndef _MSC_VER
# include <unistd.h>
#endif
#ifdef HAVE_EVIL
# include <Evil.h>
#endif
-
#include <Eina.h>
#include "Ecore.h"
#include <stdlib.h>
-#ifdef HAVE_UNISTD_H
+#ifndef _MSC_VER
# include <unistd.h>
-#endif
-
-#ifdef _MSC_VER
+#else
# include <process.h>
#endif
#include <errno.h>
#include <fcntl.h>
-#ifdef HAVE_SYS_TIME_H
+#ifndef _MSC_VER
# include <sys/time.h>
-#endif
-
-#ifdef HAVE_UNISTD_H
# include <unistd.h>
-#endif
-
-#ifdef _MSC_VER
+#else
# include <float.h>
#endif
#define FIX_HZ 1
#ifdef FIX_HZ
-# ifdef HAVE_SYS_PARAM_H
+# ifndef _MSC_VER
# 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>
-#ifdef HAVE_UNISTD_H
+#ifndef _MSC_VER
# 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>