summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-10 20:25:26 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-10 20:25:26 +0000
commitdb395ef7eb4cb31a1ba81175e703d8409ebd36ca (patch)
treeda311328dc428f4b9f392e85ec3899417d8daca0 /src/lib/ecore
parent3dc661e710f4f056a376ce18a9ea0e7cceeb4200 (diff)
efl: Remove check for unistd.h
* unistd.h: is very useful, very old and very standard. SVN revision: 82577
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore.c5
-rw-r--r--src/lib/ecore/ecore_app.c5
-rw-r--r--src/lib/ecore/ecore_main.c5
-rw-r--r--src/lib/ecore/ecore_thread.c5
-rw-r--r--src/lib/ecore/ecore_throttle.c5
5 files changed, 5 insertions, 20 deletions
diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index 3aa15bf77c..eb306408b3 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -6,13 +6,10 @@
6#include <stdio.h> 6#include <stdio.h>
7#include <sys/types.h> 7#include <sys/types.h>
8#include <sys/stat.h> 8#include <sys/stat.h>
9#include <unistd.h>
9#include <fcntl.h> 10#include <fcntl.h>
10#include <errno.h> 11#include <errno.h>
11 12
12#ifdef HAVE_UNISTD_H
13# include <unistd.h>
14#endif
15
16#ifdef HAVE_LOCALE_H 13#ifdef HAVE_LOCALE_H
17# include <locale.h> 14# include <locale.h>
18#endif 15#endif
diff --git a/src/lib/ecore/ecore_app.c b/src/lib/ecore/ecore_app.c
index 04df487d3c..716cd4a1aa 100644
--- a/src/lib/ecore/ecore_app.c
+++ b/src/lib/ecore/ecore_app.c
@@ -3,10 +3,7 @@
3#endif 3#endif
4 4
5#include <stdlib.h> 5#include <stdlib.h>
6 6#include <unistd.h>
7#ifdef HAVE_UNISTD_H
8# include <unistd.h>
9#endif
10 7
11#ifdef _MSC_VER 8#ifdef _MSC_VER
12# include <process.h> 9# include <process.h>
diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c
index 9f531361f9..b6f27a9491 100644
--- a/src/lib/ecore/ecore_main.c
+++ b/src/lib/ecore/ecore_main.c
@@ -18,6 +18,7 @@
18 18
19#include <stdlib.h> 19#include <stdlib.h>
20#include <stdio.h> 20#include <stdio.h>
21#include <unistd.h>
21#include <math.h> 22#include <math.h>
22#include <sys/types.h> 23#include <sys/types.h>
23#include <errno.h> 24#include <errno.h>
@@ -27,10 +28,6 @@
27# include <sys/time.h> 28# include <sys/time.h>
28#endif 29#endif
29 30
30#ifdef HAVE_UNISTD_H
31# include <unistd.h>
32#endif
33
34#ifdef _MSC_VER 31#ifdef _MSC_VER
35# include <float.h> 32# include <float.h>
36#endif 33#endif
diff --git a/src/lib/ecore/ecore_thread.c b/src/lib/ecore/ecore_thread.c
index 954d3a1827..53da07ac47 100644
--- a/src/lib/ecore/ecore_thread.c
+++ b/src/lib/ecore/ecore_thread.c
@@ -6,10 +6,7 @@
6#include <sys/time.h> 6#include <sys/time.h>
7#include <assert.h> 7#include <assert.h>
8#include <sys/types.h> 8#include <sys/types.h>
9 9#include <unistd.h>
10#ifdef HAVE_UNISTD_H
11# include <unistd.h>
12#endif
13 10
14#ifdef HAVE_EVIL 11#ifdef HAVE_EVIL
15# include <Evil.h> 12# include <Evil.h>
diff --git a/src/lib/ecore/ecore_throttle.c b/src/lib/ecore/ecore_throttle.c
index febaeacb77..de0a43ed9a 100644
--- a/src/lib/ecore/ecore_throttle.c
+++ b/src/lib/ecore/ecore_throttle.c
@@ -3,10 +3,7 @@
3#endif 3#endif
4 4
5#include <stdlib.h> 5#include <stdlib.h>
6 6#include <unistd.h>
7#ifdef HAVE_UNISTD_H
8# include <unistd.h>
9#endif
10 7
11#include "Ecore.h" 8#include "Ecore.h"
12#include "ecore_private.h" 9#include "ecore_private.h"