mirror of
https://git.telodendria.io/Telodendria/Cytoplasm.git
synced 2024-11-21 19:50:47 +03:00
Fix includes in headers.
These are installed to the system and some compilers may not find the headers in the current directory if we don't do this, even though according to the C standard, either should work.
This commit is contained in:
parent
e69769d4d2
commit
3a683dbb70
18 changed files with 28 additions and 31 deletions
|
@ -38,7 +38,7 @@
|
|||
* provide the standard command line interface.
|
||||
*/
|
||||
|
||||
#include <Array.h>
|
||||
#include "Array.h"
|
||||
|
||||
/**
|
||||
* All state is stored in this structure, instead of global
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
* by any means.
|
||||
*/
|
||||
|
||||
#include <Int.h>
|
||||
#include "Int.h"
|
||||
|
||||
/**
|
||||
* All functions defined here operate on a structure opaque to the
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <HashMap.h>
|
||||
#include <Array.h>
|
||||
#include "HashMap.h"
|
||||
#include "Array.h"
|
||||
|
||||
/**
|
||||
* All functions in this API operate on a database structure that is
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <Array.h>
|
||||
#include "Array.h"
|
||||
|
||||
/**
|
||||
* These functions operate on an opaque structure, which the caller
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
* for example usage of this parser.
|
||||
*/
|
||||
|
||||
#include <Stream.h>
|
||||
#include <Array.h>
|
||||
#include "Stream.h"
|
||||
#include "Array.h"
|
||||
|
||||
#define HEADER_EXPR_MAX 4096
|
||||
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <HashMap.h>
|
||||
#include <Stream.h>
|
||||
#include "HashMap.h"
|
||||
#include "Stream.h"
|
||||
|
||||
#define HTTP_FLAG_NONE 0
|
||||
#define HTTP_FLAG_TLS (1 << 0)
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <HashMap.h>
|
||||
#include <Http.h>
|
||||
#include "HashMap.h"
|
||||
#include "Http.h"
|
||||
|
||||
/**
|
||||
* A server response is represented by a client context. It is
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
* handler functions.
|
||||
*/
|
||||
|
||||
#include <Array.h>
|
||||
#include "Array.h"
|
||||
|
||||
/**
|
||||
* The router structure is opaque and thus managed entirely by the
|
||||
|
|
|
@ -46,12 +46,11 @@
|
|||
* closely resembles Java.
|
||||
*/
|
||||
|
||||
#include <Http.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <HashMap.h>
|
||||
#include <Stream.h>
|
||||
#include "Http.h"
|
||||
#include "HashMap.h"
|
||||
#include "Stream.h"
|
||||
|
||||
/**
|
||||
* The functions on this API operate on an opaque structure.
|
||||
|
|
|
@ -64,8 +64,8 @@
|
|||
* @ignore-typedefs
|
||||
*/
|
||||
|
||||
#include <Int.h>
|
||||
#include <UInt64.h>
|
||||
#include "Int.h"
|
||||
#include "UInt64.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
|
|
@ -68,10 +68,10 @@
|
|||
* behavior.
|
||||
*/
|
||||
|
||||
#include <HashMap.h>
|
||||
#include <Array.h>
|
||||
#include <Stream.h>
|
||||
#include <Int64.h>
|
||||
#include "HashMap.h"
|
||||
#include "Array.h"
|
||||
#include "Stream.h"
|
||||
#include "Int64.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stddef.h>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#include <stddef.h>
|
||||
#include <syslog.h>
|
||||
|
||||
#include <Stream.h>
|
||||
#include "Stream.h"
|
||||
|
||||
#define LOG_FLAG_COLOR (1 << 0)
|
||||
#define LOG_FLAG_SYSLOG (1 << 1)
|
||||
|
|
|
@ -37,8 +37,6 @@
|
|||
* the runtime stub needs to know their definitions.
|
||||
*/
|
||||
|
||||
#include <Array.h>
|
||||
|
||||
/**
|
||||
* Write a memory report to a file in the current directory, using
|
||||
* the provided program arguments, including the program name that
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
* is a standard library header.
|
||||
*/
|
||||
|
||||
#include <Int.h>
|
||||
#include "Int.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
* C library and offering some more convenience features.
|
||||
*/
|
||||
|
||||
#include <Io.h>
|
||||
#include "Io.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
* .El
|
||||
*/
|
||||
|
||||
#include <Stream.h>
|
||||
#include "Stream.h"
|
||||
|
||||
#define TLS_LIBRESSL 2
|
||||
#define TLS_OPENSSL 3
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
* @ignore-typedefs
|
||||
*/
|
||||
|
||||
#include <Int.h>
|
||||
#include "Int.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
|
|
@ -42,8 +42,8 @@
|
|||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <Stream.h>
|
||||
#include <UInt64.h>
|
||||
#include "Stream.h"
|
||||
#include "UInt64.h"
|
||||
|
||||
/**
|
||||
* Get the current timestamp in milliseconds since the Unix epoch. This
|
||||
|
|
Loading…
Reference in a new issue