summaryrefslogtreecommitdiff
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-29 12:44:19 -0300
commit13a8842614a50706d5d6a2bf172e98bd9a032024 (patch)
treebcc044b38d5a4473bcdc581216544b2d8a6aebb0
parenta93c2740f21c956ca24c393cb0585d9b59355cab (diff)
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 @@
46#include <mcheck.h> 46#include <mcheck.h>
47#endif 47#endif
48 48
49#ifdef _WIN32
50#include "Evil.h"
51#endif
52
49#include "eina_lock.h" 53#include "eina_lock.h"
50#include "eina_config.h" 54#include "eina_config.h"
51#include "eina_private.h" 55#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 @@
2# include "config.h" 2# include "config.h"
3#endif 3#endif
4 4
5#ifdef _WIN32
6#include "Evil.h"
7#endif
8
5#include "eina_strbuf_common.h" 9#include "eina_strbuf_common.h"
6#include "eina_unicode.h" 10#include "eina_unicode.h"
7#include "eina_ustrbuf.h" 11#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 @@
32 32
33#include <fcntl.h> 33#include <fcntl.h>
34 34
35#ifdef _WIN32
36#include "Evil.h"
37#endif
38
35#include "eina_config.h" 39#include "eina_config.h"
36#include "eina_private.h" 40#include "eina_private.h"
37 41