Adapt to slweb's include paths
slweb puts its header files into its own directory in order to avoid potential name clashing.
This commit is contained in:
parent
6e5c091d8f
commit
e49f1da7ae
2
auth.c
2
auth.c
|
@ -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>
|
||||
|
|
2
auth.h
2
auth.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);
|
||||
|
|
6
main.c
6
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 <slweb/handler.h>
|
||||
#include <slweb/http.h>
|
||||
#include <slweb/wildcard_cmp.h>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/rand.h>
|
||||
#include <dynstr.h>
|
||||
|
|
4
page.c
4
page.c
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue