aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unix.c5
1 files changed, 4 insertions, 1 deletions
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 <pwd.h>
#include <locale.h>
+#if defined(OTR_BI) || defined(OTR_PI)
+#include "otr.h"
+#endif
+
global_t global; /* Against global namespace pollution */
static void sighandler( int signal );