summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2020-09-22 15:41:22 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2020-09-22 15:41:22 +0200
commitdc8610fb0e71b0b848e7273d8c78d4089d7debfb (patch)
treeb5a504f9d623e0f946d4f576cbb892b567b9ff7d
parentbd9403c6e548ceb5d82105391a1d07eb389f4aca (diff)
chore(warteraum): clean up header inclusions
-rw-r--r--warteraum/routing.c2
-rw-r--r--warteraum/test/test_form.c3
-rw-r--r--warteraum/test/test_queue.c1
3 files changed, 5 insertions, 1 deletions
diff --git a/warteraum/routing.c b/warteraum/routing.c
index e181844..7b7b733 100644
--- a/warteraum/routing.c
+++ b/warteraum/routing.c
@@ -4,6 +4,8 @@
 #include <stdint.h>
 #include <string.h>
 
+#include "routing.h"
+
 int split_segments(struct http_string_s path, struct http_string_s **segs) {
   if(segs == NULL || *segs != NULL) {
     return -1;
diff --git a/warteraum/test/test_form.c b/warteraum/test/test_form.c
index 71835b7..fca6c98 100644
--- a/warteraum/test/test_form.c
+++ b/warteraum/test/test_form.c
@@ -1,5 +1,8 @@
+#include <stdbool.h>
+
 #define TEST_EXIT_ON_FAIL true
 #include "test.h"
+
 #include "../http_string.h"
 #include "../form.h"
 
diff --git a/warteraum/test/test_queue.c b/warteraum/test/test_queue.c
index 1245074..3c37986 100644
--- a/warteraum/test/test_queue.c
+++ b/warteraum/test/test_queue.c
@@ -1,5 +1,4 @@
 #include <stdbool.h>
-#include <stdio.h>
 #include <string.h>
 #include "test.h"
 #include "../queue.h"