diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-07-21 01:24:10 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-07-21 01:40:55 +0200 |
| commit | e49f1da7aed6894c8893cf29c33c4ca839d74976 (patch) | |
| tree | 54fdbf665a9ec8adb5da089e8e305028ff10dea5 | |
| parent | 6e5c091d8f871383af0332bf80943f69889c0da9 (diff) | |
| download | slcl-e49f1da7aed6894c8893cf29c33c4ca839d74976.tar.gz | |
Adapt to slweb's include paths
slweb puts its header files into its own directory in order to avoid
potential name clashing.
| -rw-r--r-- | auth.c | 2 | ||||
| -rw-r--r-- | auth.h | 2 | ||||
| -rw-r--r-- | main.c | 6 | ||||
| -rw-r--r-- | page.c | 4 | ||||
| -rw-r--r-- | page.h | 2 |
5 files changed, 8 insertions, 8 deletions
@@ -1,7 +1,7 @@ #include "auth.h" #include "hex.h" -#include "http.h" #include "jwt.h" +#include <slweb/http.h> #include <cjson/cJSON.h> #include <dynstr.h> #include <openssl/sha.h> @@ -1,7 +1,7 @@ #ifndef AUTH_H #define AUTH_H -#include "http.h" +#include <slweb/http.h> #include <stdbool.h> struct auth *auth_alloc(const char *dir); @@ -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 <slweb/handler.h> +#include <slweb/http.h> +#include <slweb/wildcard_cmp.h> #include <openssl/err.h> #include <openssl/rand.h> #include <dynstr.h> @@ -1,8 +1,8 @@ #define _POSIX_C_SOURCE 200809L #include "page.h" -#include "http.h" -#include "html.h" +#include <slweb/html.h> +#include <slweb/http.h> #include <dynstr.h> #include <dirent.h> #include <fcntl.h> @@ -1,7 +1,7 @@ #ifndef PAGE_H #define PAGE_H -#include "http.h" +#include <slweb/http.h> #include <stdbool.h> #include <stddef.h> |
