summaryrefslogtreecommitdiff
path: root/src/tests/ecore
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2019-06-20 12:50:35 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-06-20 12:50:35 +0100
commitba22016c4cc130a93450f1ccc2c267f28e5ba7d0 (patch)
tree66d5bad3317c0e8632be92cb610f3c09162d4521 /src/tests/ecore
parent33f5e53af3cf059b234f4e618f573ac6b354f7c6 (diff)
tests: fix warnings and undef ref on Windows (using meson :-) )
Summary: we need to include evil_private.h so that some symbols are declared Test Plan: compilation Reviewers: raster, zmike, cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9129
Diffstat (limited to 'src/tests/ecore')
-rw-r--r--src/tests/ecore/ecore_test_ecore.c4
-rw-r--r--src/tests/ecore/ecore_test_ecore_file.c4
-rw-r--r--src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c4
-rw-r--r--src/tests/ecore/efl_app_test_loop_fd.c5
4 files changed, 17 insertions, 0 deletions
diff --git a/src/tests/ecore/ecore_test_ecore.c b/src/tests/ecore/ecore_test_ecore.c
index 8159e22fb4..8fe433f5a1 100644
--- a/src/tests/ecore/ecore_test_ecore.c
+++ b/src/tests/ecore/ecore_test_ecore.c
@@ -5,6 +5,10 @@
5#include <stdio.h> 5#include <stdio.h>
6#include <unistd.h> 6#include <unistd.h>
7 7
8#ifdef _WIN32
9# include <evil_private.h> /* pipe */
10#endif
11
8#include <Eina.h> 12#include <Eina.h>
9#include <Ecore.h> 13#include <Ecore.h>
10 14
diff --git a/src/tests/ecore/ecore_test_ecore_file.c b/src/tests/ecore/ecore_test_ecore_file.c
index 8fff2eb2e4..fe0e73f3a8 100644
--- a/src/tests/ecore/ecore_test_ecore_file.c
+++ b/src/tests/ecore/ecore_test_ecore_file.c
@@ -9,6 +9,10 @@
9#include <fcntl.h> 9#include <fcntl.h>
10#include <libgen.h> 10#include <libgen.h>
11 11
12#ifdef _WIN32
13# include <evil_private.h> /* setenv */
14#endif
15
12#include <Eina.h> 16#include <Eina.h>
13#include <Ecore.h> 17#include <Ecore.h>
14#include <Ecore_File.h> 18#include <Ecore_File.h>
diff --git a/src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c b/src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c
index cb3985b9a4..be5c3cdd1e 100644
--- a/src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c
+++ b/src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c
@@ -5,6 +5,10 @@
5#include <stdio.h> 5#include <stdio.h>
6#include <unistd.h> 6#include <unistd.h>
7 7
8#ifdef _WIN32
9# include <evil_private.h> /* pipe */
10#endif
11
8#include <Eina.h> 12#include <Eina.h>
9#include <Ecore.h> 13#include <Ecore.h>
10 14
diff --git a/src/tests/ecore/efl_app_test_loop_fd.c b/src/tests/ecore/efl_app_test_loop_fd.c
index e5ad901637..26bd318cd1 100644
--- a/src/tests/ecore/efl_app_test_loop_fd.c
+++ b/src/tests/ecore/efl_app_test_loop_fd.c
@@ -4,6 +4,11 @@
4 4
5#include <stdio.h> 5#include <stdio.h>
6#include <unistd.h> 6#include <unistd.h>
7
8#ifdef _WIN32
9# include <evil_private.h> /* pipe */
10#endif
11
7#define EFL_NOLEGACY_API_SUPPORT 12#define EFL_NOLEGACY_API_SUPPORT
8#include <Efl_Core.h> 13#include <Efl_Core.h>
9#include "efl_app_suite.h" 14#include "efl_app_suite.h"