From 5cf5775bbcee03749aa6a092e3eab3a2933bd1ec Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Mon, 4 Apr 2011 19:16:05 +0100 Subject: [PATCH] Fix ConfigTest.cpp and cert.cpp so they compile This was broken since ZNCDebug.cpp was introduced --- modules/cert.cpp | 1 + test/ConfigTest.cpp | 2 ++ test/Makefile.in | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/cert.cpp b/modules/cert.cpp index a4d6b25d..656a61ce 100644 --- a/modules/cert.cpp +++ b/modules/cert.cpp @@ -8,6 +8,7 @@ #define REQUIRESSL +#include "FileUtils.h" #include "User.h" #include "Modules.h" #include "IRCSock.h" diff --git a/test/ConfigTest.cpp b/test/ConfigTest.cpp index 20ece0c0..4102c51c 100644 --- a/test/ConfigTest.cpp +++ b/test/ConfigTest.cpp @@ -6,6 +6,8 @@ * by the Free Software Foundation. */ +#include "ZNCDebug.h" +#include "FileUtils.h" #include "Config.h" #include diff --git a/test/Makefile.in b/test/Makefile.in index 691d611b..efa1cf7f 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -11,7 +11,7 @@ LIBS := @LIBS@ TARGETS := ConfigTest OBJS := $(addsuffix .o, $(TARGETS)) -ZNC_OBJS := Config.o FileUtils.o Utils.o ZNCString.o MD5.o SHA256.o +ZNC_OBJS := Config.o ZNCDebug.o FileUtils.o Utils.o ZNCString.o MD5.o SHA256.o ZNC_OBJS := $(addprefix ../, $(ZNC_OBJS)) ifneq "$(V)" ""