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.
This commit is contained in:
Gustavo Sverzut Barbieri 2017-03-28 15:22:14 -03:00
parent a93c2740f2
commit 13a8842614
3 changed files with 12 additions and 0 deletions

View File

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

View File

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

View File

@ -32,6 +32,10 @@
#include <fcntl.h>
#ifdef _WIN32
#include "Evil.h"
#endif
#include "eina_config.h"
#include "eina_private.h"