diff options
author | Vincent Torri <vincent dot torri at gmail dot com> | 2015-11-07 14:05:56 +0100 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-11-09 10:25:54 -0800 |
commit | 9eef7ae2870429711ef8f93a4841bd6f4f67722e (patch) | |
tree | 6fb216a7b7c1d501dc8cfb1e6aa6ad3c5cf1a1be /src/bin | |
parent | 247c860aac234b2183c8c6d12f5f87dee4e23229 (diff) | |
download | efl-9eef7ae2870429711ef8f93a4841bd6f4f67722e.tar.gz |
efreet: fix warning
Commit 0cd59bb1 introduced the use of basename()
which needs libgen.h (hence winsock2.h before) on Windows.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/efreet/efreet_desktop_cache_create.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/efreet/efreet_desktop_cache_create.c b/src/bin/efreet/efreet_desktop_cache_create.c index 399cc81393..849c491e42 100644 --- a/src/bin/efreet/efreet_desktop_cache_create.c +++ b/src/bin/efreet/efreet_desktop_cache_create.c @@ -10,6 +10,11 @@ #include <sys/resource.h> #endif +#ifdef _WIN32 +# include <winsock2.h> +# include <libgen.h> +#endif + #include <Eina.h> #include <Eet.h> #include <Ecore.h> |