aboutsummaryrefslogtreecommitdiff
path: root/handler.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-07-20 23:47:33 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-07-21 01:28:38 +0200
commit8c3ba33ced08b211db0cd5f81675bdf62f55acc7 (patch)
tree928ccf6a025db57c3a038a56a920735dccd286ff /handler.c
parent4dd531b9ed1923837da32d69fa1933ec9083f8db (diff)
Move header files to subdirectory
Since slweb is meant as a library, it is advisable to keep public header files under their own directory in order to avoid name clashing i.e., #include "something.h" Now becomes: #include "slweb/something.h"
Diffstat (limited to 'handler.c')
-rw-r--r--handler.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/handler.c b/handler.c
index 1d7e922..f29da15 100644
--- a/handler.c
+++ b/handler.c
@@ -1,9 +1,9 @@
#define _POSIX_C_SOURCE 200809L
-#include "handler.h"
-#include "http.h"
-#include "server.h"
-#include "wildcard_cmp.h"
+#include "slweb/handler.h"
+#include "slweb/http.h"
+#include "slweb/server.h"
+#include "slweb/wildcard_cmp.h"
#include <errno.h>
#include <stdbool.h>
#include <stddef.h>