summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-02-21 16:40:29 +0100
committerDave Davenport <qball@gmpclient.org>2016-02-21 16:40:29 +0100
commitbe76712dba7581a2b8b07df7654bf02654549361 (patch)
tree674c75e5e18f80b2e03491e91085eddc82c61a87
parent5d6f2ee1ab78764f50c490063cf3b104fefebe27 (diff)
Fix tests.
-rw-r--r--Makefile.am2
-rw-r--r--test/textbox-test.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 62e42824..739d9705 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -171,6 +171,7 @@ textbox_test_CFLAGS=\
$(pango_CFLAGS)\
$(x11_CFLAGS)\
$(xinerama_CFLAGS)\
+ $(GW_XCB_CFLAGS)\
$(cairo_CFLAGS)\
-I$(top_srcdir)/include/\
-I$(top_srcdir)/config/\
@@ -181,6 +182,7 @@ textbox_test_LDADD=\
$(pango_LIBS)\
$(x11_LIBS)\
$(xinerama_LIBS)\
+ $(GW_XCB_LIBS)\
$(cairo_LIBS)
textbox_test_SOURCES=\
diff --git a/test/textbox-test.c b/test/textbox-test.c
index 72e2e98a..fba5350e 100644
--- a/test/textbox-test.c
+++ b/test/textbox-test.c
@@ -8,7 +8,7 @@
#include <string.h>
#include <X11/X.h>
#include <X11/Xlib.h>
-
+#include <xcb/xcb.h>
#include <textbox.h>
#include <rofi.h>
#include <cairo-xlib.h>