From d150a9df0b0e84a3fe30af340762f96475f4b1e5 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 10 Oct 2010 11:40:06 -0700 Subject: Alas, commit 700 becomes a boring "Oops, --otr=0 still doesn't build without libotr installed". Also, it appears that this code needs libotr 3.2.0 or higher, but I'm not adding a build-dep since that'll cause troubles on the build bot, people can just build with BITLBEE_OTR=0. --- unix.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'unix.c') diff --git a/unix.c b/unix.c index 07f7c5f9..ad21c716 100644 --- a/unix.c +++ b/unix.c @@ -28,7 +28,6 @@ #include "arc.h" #include "base64.h" #include "commands.h" -#include "otr.h" #include "protocols/nogaim.h" #include "help.h" #include "ipc.h" @@ -42,6 +41,10 @@ #include #include +#if defined(OTR_BI) || defined(OTR_PI) +#include "otr.h" +#endif + global_t global; /* Against global namespace pollution */ static void sighandler( int signal ); -- cgit v1.2.3