aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-03-28 15:22:14 -0300
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-03-28 15:22:14 -0300
commitda8bc6378ce8995227156dfc444a32a560486056 (patch)
treeb4e3cbc4f43dd853d5eeee7abd3054c66e334ef1
parentothers: support efl_net_dialer_windows. (diff)
downloadefl-da8bc6378ce8995227156dfc444a32a560486056.tar.gz
eina: fix compilation warning on _WIN32 due missing strndup()
Eina.h will include Evil.h, but those using direct include of internal headers must include it as well.
-rw-r--r--src/lib/eina/eina_main.c4
-rw-r--r--src/lib/eina/eina_ustrbuf.c4
-rw-r--r--src/lib/eina/eina_xattr.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/eina/eina_main.c b/src/lib/eina/eina_main.c
index 9a7237fd7f..36177158c0 100644
--- a/src/lib/eina/eina_main.c
+++ b/src/lib/eina/eina_main.c
@@ -46,6 +46,10 @@
#include <mcheck.h>
#endif
+#ifdef _WIN32
+#include "Evil.h"
+#endif
+
#include "eina_lock.h"
#include "eina_config.h"
#include "eina_private.h"
diff --git a/src/lib/eina/eina_ustrbuf.c b/src/lib/eina/eina_ustrbuf.c
index 7c1c2db246..7a2a5a0d20 100644
--- a/src/lib/eina/eina_ustrbuf.c
+++ b/src/lib/eina/eina_ustrbuf.c
@@ -2,6 +2,10 @@
# include "config.h"
#endif
+#ifdef _WIN32
+#include "Evil.h"
+#endif
+
#include "eina_strbuf_common.h"
#include "eina_unicode.h"
#include "eina_ustrbuf.h"
diff --git a/src/lib/eina/eina_xattr.c b/src/lib/eina/eina_xattr.c
index a32ff5306a..a0170ca630 100644
--- a/src/lib/eina/eina_xattr.c
+++ b/src/lib/eina/eina_xattr.c
@@ -32,6 +32,10 @@
#include <fcntl.h>
+#ifdef _WIN32
+#include "Evil.h"
+#endif
+
#include "eina_config.h"
#include "eina_private.h"