summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-08-02 11:38:58 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-08-02 11:38:58 +0200
commitf9b04635d30b568edb4d7f732d79d0184d0a7ce5 (patch)
tree3747326b25c88283112cf139b1835b2b7efefa90
parent35574d63ab25d6c65c408d7ca3fdada1b44e8a4a (diff)
downloadweechat-f9b04635d30b568edb4d7f732d79d0184d0a7ce5.zip
tests: fix compilation of tests
The header gui-curses.h doesn't need to be included (this causes an error because the real ncurses lib header is not found when compiling tests).
-rw-r--r--tests/tests.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp
index 4d47fec7a..50f6051d7 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -37,7 +37,9 @@ extern "C"
#include "../src/plugins/plugin.h"
#include "../src/gui/gui-main.h"
#include "../src/gui/gui-buffer.h"
-#include "../src/gui/curses/gui-curses.h"
+
+ extern void gui_main_init ();
+ extern void gui_main_loop ();
}
#include "CppUTest/CommandLineTestRunner.h"