aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/efreet
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@gmail.com>2016-01-05 23:19:18 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2016-01-07 12:03:04 +0100
commit4521929d6939f31ad87e7043767acbaabf58f298 (patch)
tree5479a8713985404e616618b7039e957dc82dc278 /src/bin/efreet
parentEvas filters: Fix minor compilation warning (diff)
downloadefl-4521929d6939f31ad87e7043767acbaabf58f298.tar.gz
efreet: fix undeclared function
libgen is needed on OSX because it contains the prototype of basename() which is required in the compiling unit. The result of basename() was therefore implicitely converted into an integer, which could leed to subtile issues. @fix
Diffstat (limited to 'src/bin/efreet')
-rw-r--r--src/bin/efreet/efreet_desktop_cache_create.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/efreet/efreet_desktop_cache_create.c b/src/bin/efreet/efreet_desktop_cache_create.c
index 849c491e42..9dd17d657e 100644
--- a/src/bin/efreet/efreet_desktop_cache_create.c
+++ b/src/bin/efreet/efreet_desktop_cache_create.c
@@ -12,9 +12,10 @@
#ifdef _WIN32
# include <winsock2.h>
-# include <libgen.h>
#endif
+#include <libgen.h>
+
#include <Eina.h>
#include <Eet.h>
#include <Ecore.h>