From e1fe7783c0d0132a5a4bb0e1e214aff60bafe7d1 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 16 Feb 2014 17:48:51 +0000 Subject: Added conditional include in cmd_otr tests --- tests/test_cmd_otr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/test_cmd_otr.c') diff --git a/tests/test_cmd_otr.c b/tests/test_cmd_otr.c index 8bc25fcd..92ff5e6e 100644 --- a/tests/test_cmd_otr.c +++ b/tests/test_cmd_otr.c @@ -5,9 +5,13 @@ #include #include #include -#include #include "config.h" + +#ifdef HAVE_LIBOTR +#include +#endif + #include "config/preferences.h" #include "ui/mock_ui.h" -- cgit 1.4.1-2-gfad0