diff options
author | Andy Williams <andy@andywilliams.me> | 2017-12-31 16:08:31 +0000 |
---|---|---|
committer | Andy Williams <andy@andywilliams.me> | 2017-12-31 16:08:31 +0000 |
commit | d234458dfcd9202c33f75049da6ebdad7888f4c5 (patch) | |
tree | 12f6e7584f1faf8e0e1dad1b940b69a31b1be8ba /src/lib/ecore_file/ecore_file.c | |
parent | 0a068ac549e0dbdc27fec5925a99934ec09d9855 (diff) |
Fix and simpligy windows behaviour.
Author: Vincent Torri
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_file/ecore_file.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/ecore_file/ecore_file.c b/src/lib/ecore_file/ecore_file.c index 14c1934853..15d96edb6e 100644 --- a/src/lib/ecore_file/ecore_file.c +++ b/src/lib/ecore_file/ecore_file.c | |||
@@ -5,11 +5,8 @@ | |||
5 | #include <stdlib.h> | 5 | #include <stdlib.h> |
6 | #include <stdio.h> | 6 | #include <stdio.h> |
7 | #include <string.h> | 7 | #include <string.h> |
8 | 8 | #include <unistd.h> | |
9 | #ifndef _MSC_VER | 9 | #include <libgen.h> |
10 | # include <unistd.h> | ||
11 | # include <libgen.h> | ||
12 | #endif | ||
13 | 10 | ||
14 | #ifdef _WIN32 | 11 | #ifdef _WIN32 |
15 | # include <direct.h> | 12 | # include <direct.h> |