summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/CopyJob.cc1
-rw-r--r--lib/Exceptions.cc2
-rw-r--r--lib/IRC.cc1
-rw-r--r--lib/InPipe.cc1
-rw-r--r--lib/Input.cc1
-rw-r--r--lib/OutPipe.cc1
-rw-r--r--lib/Output.cc1
-rw-r--r--lib/ReadJob.cc2
-rw-r--r--lib/Regex.cc1
-rw-r--r--lib/Socket.cc2
-rw-r--r--lib/Task.cc1
-rw-r--r--lib/Variables.cc1
12 files changed, 10 insertions, 5 deletions
diff --git a/lib/CopyJob.cc b/lib/CopyJob.cc
index 637f4b2..864706b 100644
--- a/lib/CopyJob.cc
+++ b/lib/CopyJob.cc
@@ -1,5 +1,6 @@
#include "CopyJob.h"
#include "General.h"
+#include "config.h"
CopyJob::CopyJob(Handle * as, Handle * ad, ssize_t asiz, bool ads) : s(as), d(ad), ds(ads), siz(asiz), cursiz(0), r(0) {
s->SetNonBlock();
diff --git a/lib/Exceptions.cc b/lib/Exceptions.cc
index 53d974d..1283f6a 100644
--- a/lib/Exceptions.cc
+++ b/lib/Exceptions.cc
@@ -3,10 +3,10 @@
#include <string.h>
#include <errno.h>
#include <stddef.h>
-#include "config.h"
#include "String.h"
#include "Exceptions.h"
#include "General.h"
+#include "config.h"
char GeneralException::t[BUFSIZ];
diff --git a/lib/IRC.cc b/lib/IRC.cc
index c02101f..203a0bd 100644
--- a/lib/IRC.cc
+++ b/lib/IRC.cc
@@ -1,6 +1,7 @@
#include "String.h"
#include "IRC.h"
#include "HttpServ.h"
+#include "config.h"
ircmsg_t ircmsgs[MSG_COUNT] =
diff --git a/lib/InPipe.cc b/lib/InPipe.cc
index f019768..5dc7dfc 100644
--- a/lib/InPipe.cc
+++ b/lib/InPipe.cc
@@ -1,5 +1,6 @@
#include "InPipe.h"
#include "Output.h"
+#include "config.h"
InPipe::InPipe() : Handle(pipe(p, 0)), hooked(0) { }
diff --git a/lib/Input.cc b/lib/Input.cc
index 99c4bae..be6981f 100644
--- a/lib/Input.cc
+++ b/lib/Input.cc
@@ -5,7 +5,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-
#include "Input.h"
#include "Exceptions.h"
#include "config.h"
diff --git a/lib/OutPipe.cc b/lib/OutPipe.cc
index ef0bf4a..f939db7 100644
--- a/lib/OutPipe.cc
+++ b/lib/OutPipe.cc
@@ -1,5 +1,6 @@
#include "OutPipe.h"
#include "Input.h"
+#include "config.h"
OutPipe::OutPipe() : Handle(pipe(p, 1)), hooked(0) { }
diff --git a/lib/Output.cc b/lib/Output.cc
index 3f755ef..c85d372 100644
--- a/lib/Output.cc
+++ b/lib/Output.cc
@@ -5,7 +5,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-
#include "Output.h"
#include "Exceptions.h"
#include "config.h"
diff --git a/lib/ReadJob.cc b/lib/ReadJob.cc
index a012c97..8df4863 100644
--- a/lib/ReadJob.cc
+++ b/lib/ReadJob.cc
@@ -1,5 +1,7 @@
#include "ReadJob.h"
#include "HttpServ.h"
+#include "Regex.h"
+#include "config.h"
ReadJob::ReadJob(Handle * as, Handle * ad, const Regex & aregex) : s(as), d(ad), regex(&aregex) {
s->SetNonBlock();
diff --git a/lib/Regex.cc b/lib/Regex.cc
index 41c55c7..013951a 100644
--- a/lib/Regex.cc
+++ b/lib/Regex.cc
@@ -1,4 +1,5 @@
#include "Regex.h"
+#include "config.h"
char t[1024];
diff --git a/lib/Socket.cc b/lib/Socket.cc
index aada133..a8c5beb 100644
--- a/lib/Socket.cc
+++ b/lib/Socket.cc
@@ -9,9 +9,9 @@
#include "String.h"
#include "Socket.h"
#include "Exceptions.h"
-#include "config.h"
#include "Input.h"
#include "Output.h"
+#include "config.h"
Socket::Socket() throw (GeneralException) : Handle(socket(AF_INET, SOCK_STREAM, 0)), connected(false), listening(false) {
if (GetHandle() < 0) {
diff --git a/lib/Task.cc b/lib/Task.cc
index 25733ff..2c8f048 100644
--- a/lib/Task.cc
+++ b/lib/Task.cc
@@ -3,6 +3,7 @@
#include "TaskMan.h"
#include "Task.h"
#include "String.h"
+#include "config.h"
Task::Task() : current(0), state(TASK_ON_HOLD), stopped(false), suspended(false), wbta(0) {
TaskMan::AddTask(this);
diff --git a/lib/Variables.cc b/lib/Variables.cc
index 6b23d9c..7bdf65d 100644
--- a/lib/Variables.cc
+++ b/lib/Variables.cc
@@ -1,4 +1,3 @@
-
#include "Variables.h"
#include "HttpServ.h"
#include "String.h"