From e49f1da7aed6894c8893cf29c33c4ca839d74976 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Fri, 21 Jul 2023 01:24:10 +0200 Subject: Adapt to slweb's include paths slweb puts its header files into its own directory in order to avoid potential name clashing. --- auth.c | 2 +- auth.h | 2 +- main.c | 6 +++--- page.c | 4 ++-- page.h | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/auth.c b/auth.c index 09a5faa..cd1ec23 100644 --- a/auth.c +++ b/auth.c @@ -1,7 +1,7 @@ #include "auth.h" #include "hex.h" -#include "http.h" #include "jwt.h" +#include #include #include #include diff --git a/auth.h b/auth.h index ad46585..0fcf396 100644 --- a/auth.h +++ b/auth.h @@ -1,7 +1,7 @@ #ifndef AUTH_H #define AUTH_H -#include "http.h" +#include #include struct auth *auth_alloc(const char *dir); diff --git a/main.c b/main.c index 762db88..45da68f 100644 --- a/main.c +++ b/main.c @@ -2,12 +2,12 @@ #include "auth.h" #include "cftw.h" -#include "handler.h" #include "hex.h" -#include "http.h" #include "page.h" #include "style.h" -#include "wildcard_cmp.h" +#include +#include +#include #include #include #include diff --git a/page.c b/page.c index 32cc071..23f1fce 100644 --- a/page.c +++ b/page.c @@ -1,8 +1,8 @@ #define _POSIX_C_SOURCE 200809L #include "page.h" -#include "http.h" -#include "html.h" +#include +#include #include #include #include diff --git a/page.h b/page.h index 7d477ff..7160f4b 100644 --- a/page.h +++ b/page.h @@ -1,7 +1,7 @@ #ifndef PAGE_H #define PAGE_H -#include "http.h" +#include #include #include -- cgit v1.2.3