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
This commit is contained in:
Jean Guyomarc'h 2016-01-05 23:19:18 +01:00 committed by Stefan Schmidt
parent 25ccef095e
commit 4521929d69
1 changed files with 2 additions and 1 deletions

View File

@ -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>