diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2011-01-07 08:51:17 +0000 |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2011-01-07 08:51:17 +0000 |
commit | 7a078d0c76ab71efa6fb1890e5f64f3c2ab65810 (patch) | |
tree | 92b36b7dc526a9e71425846a12e92970a2484318 /legacy/ecore/src/lib/ecore_file/ecore_file.c | |
parent | bd6ce4a5e4815c994b0807bacee75e4f0aa2179b (diff) |
use configure-time headers checks instead of compiler ones
SVN revision: 55975
Diffstat (limited to '')
-rw-r--r-- | legacy/ecore/src/lib/ecore_file/ecore_file.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file.c b/legacy/ecore/src/lib/ecore_file/ecore_file.c index 7fff28421f..82c1aa26fe 100644 --- a/legacy/ecore/src/lib/ecore_file/ecore_file.c +++ b/legacy/ecore/src/lib/ecore_file/ecore_file.c | |||
@@ -5,14 +5,18 @@ | |||
5 | #include <stdio.h> | 5 | #include <stdio.h> |
6 | #include <string.h> | 6 | #include <string.h> |
7 | 7 | ||
8 | #ifndef _MSC_VER | 8 | #ifdef HAVE_UNISTD_H |
9 | # include <unistd.h> | 9 | # include <unistd.h> |
10 | #endif | ||
11 | |||
12 | #ifdef HAVE_LIBGEN_H | ||
10 | # include <libgen.h> | 13 | # include <libgen.h> |
11 | #endif | 14 | #endif |
12 | 15 | ||
13 | #ifdef HAVE_FEATURES_H | 16 | #ifdef HAVE_FEATURES_H |
14 | # include <features.h> | 17 | # include <features.h> |
15 | #endif | 18 | #endif |
19 | |||
16 | #include <ctype.h> | 20 | #include <ctype.h> |
17 | #include <errno.h> | 21 | #include <errno.h> |
18 | 22 | ||