summaryrefslogtreecommitdiff
path: root/src/lib/efreet
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2019-05-20 09:10:00 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-20 09:10:00 -0400
commita5267d3d9c55ebcc2da3e7e05b23bc88d436f3fb (patch)
treea6432d852103ec270e11c156b5c514da5fe26e51 /src/lib/efreet
parentc567278b5473fd42af7dd7090c4dc2979cc15558 (diff)
remove Evil.h when not necessary, include evil_private.h when necessary
Test Plan: compilation Reviewers: zmike, raster, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8925
Diffstat (limited to 'src/lib/efreet')
-rw-r--r--src/lib/efreet/efreet_desktop.c3
-rw-r--r--src/lib/efreet/efreet_trash.c8
-rw-r--r--src/lib/efreet/efreet_uri.c4
3 files changed, 10 insertions, 5 deletions
diff --git a/src/lib/efreet/efreet_desktop.c b/src/lib/efreet/efreet_desktop.c
index 949fd567fc..e56d06c908 100644
--- a/src/lib/efreet/efreet_desktop.c
+++ b/src/lib/efreet/efreet_desktop.c
@@ -2,8 +2,9 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5/* TODO : have to look why sockets must be init */
5#ifdef _WIN32 6#ifdef _WIN32
6# include <Evil.h> 7# include <evil_private.h> /* evil_sockets_init|shutdown */
7#endif 8#endif
8 9
9#include <Ecore_File.h> 10#include <Ecore_File.h>
diff --git a/src/lib/efreet/efreet_trash.c b/src/lib/efreet/efreet_trash.c
index 42a2acdd29..04a4a6cda4 100644
--- a/src/lib/efreet/efreet_trash.c
+++ b/src/lib/efreet/efreet_trash.c
@@ -7,6 +7,14 @@
7#include <libgen.h> 7#include <libgen.h>
8#include <errno.h> 8#include <errno.h>
9 9
10#ifdef _WIN32
11# ifndef WIN32_LEAN_AND_MEAN
12# define WIN32_LEAN_AND_MEAN
13# endif
14# include <windows.h> /* GetCurrentProcessId */
15# undef WIN32_LEAN_AND_MEAN
16#endif
17
10#include <Ecore_File.h> 18#include <Ecore_File.h>
11 19
12/* define macros and variable for using the eina logging system */ 20/* define macros and variable for using the eina logging system */
diff --git a/src/lib/efreet/efreet_uri.c b/src/lib/efreet/efreet_uri.c
index 36a090f60f..9f468ce5df 100644
--- a/src/lib/efreet/efreet_uri.c
+++ b/src/lib/efreet/efreet_uri.c
@@ -8,10 +8,6 @@
8#define _POSIX_HOST_NAME_MAX 255 8#define _POSIX_HOST_NAME_MAX 255
9#endif 9#endif
10 10
11#ifdef _WIN32
12# include <Evil.h>
13#endif
14
15/* define macros and variable for using the eina logging system */ 11/* define macros and variable for using the eina logging system */
16#define EFREET_MODULE_LOG_DOM /* no logging in this file */ 12#define EFREET_MODULE_LOG_DOM /* no logging in this file */
17 13