about summary refs log tree commit diff stats
path: root/tests/unittests/ui/stub_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/ui/stub_ui.c')
-rw-r--r--tests/unittests/ui/stub_ui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c
index e232fab0..39f4445a 100644
--- a/tests/unittests/ui/stub_ui.c
+++ b/tests/unittests/ui/stub_ui.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #include <glib.h>
 #include <wchar.h>
 
@@ -6,6 +8,9 @@
 
 #include "ui/window.h"
 #include "ui/ui.h"
+#ifdef HAVE_LIBOTR
+#include "otr/otr.h"
+#endif
 
 #include "tests/unittests/ui/stub_ui.h"