Include "mhd_sys_options.h" in every file

The header must be included before any other headers.
This commit is contained in:
Evgeny Grin (Karlson2k)
2024-10-30 11:43:58 +01:00
parent bb1abbce46
commit b8b168e48b
8 changed files with 15 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@
* @brief The implementation of the calloc() replacement
* @author Karlson2k (Evgeny Grin)
*/
#include "mhd_sys_options.h"
#include "compat_calloc.h"
#ifndef HAVE_CALLOC
+2
View File
@@ -24,6 +24,8 @@
* @author Karlson2k (Evgeny Grin)
*/
#include "mhd_sys_options.h"
#include "conn_data_recv.h"
#include "mhd_sys_options.h"
+2
View File
@@ -25,6 +25,8 @@
* @author Karlson2k (Evgeny Grin)
*/
#include "mhd_sys_options.h"
#include "mhd_itc.h"
#if defined(MHD_ITC_PIPE_)
# ifdef MHD_HAVE_MHD_ITC_NONBLOCKING
+2
View File
@@ -32,6 +32,8 @@
*/
#ifndef MHD_ITC_H
#define MHD_ITC_H 1
#include "mhd_sys_options.h"
#include "mhd_itc_types.h"
#include "mhd_panic.h"
+2
View File
@@ -27,6 +27,8 @@
* + Update code style
* + Detect mmap() in configure (it is purely optional!)
*/
#include "mhd_sys_options.h"
#include "mhd_mempool.h"
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
+2
View File
@@ -25,6 +25,8 @@
* TODO: update code style
*/
#include "mhd_sys_options.h"
#include "mhd_mono_clock.h"
#if defined(_WIN32) && ! defined(__CYGWIN__)
+2
View File
@@ -23,6 +23,8 @@
* @author Karlson2k (Evgeny Grin)
*/
#include "mhd_sys_options.h"
#include "mhd_str.h"
#include <string.h>
+2
View File
@@ -24,6 +24,8 @@
* @author Karlson2k (Evgeny Grin)
*/
#include "mhd_sys_options.h"
#include "mhd_threads.h"
#include "sys_null_macro.h"
#ifdef mhd_THREADS_KIND_W32