[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 05/06: Fixed: include "MHD_config.h" before other header
From: |
gnunet |
Subject: |
[libmicrohttpd] 05/06: Fixed: include "MHD_config.h" before other headers to set correct macros |
Date: |
Sun, 24 Oct 2021 13:45:08 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 276f601ffc09718c6afbef3b9972336fed54a150
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Oct 24 11:39:33 2021 +0300
Fixed: include "MHD_config.h" before other headers to set correct macros
---
src/microhttpd/mhd_align.h | 2 +-
src/microhttpd/mhd_bithelpers.h | 2 +-
src/microhttpd/test_str_token_remove.c | 2 +-
src/microhttpd/test_str_tokens_remove.c | 2 +-
src/microhttpd/tsearch.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/microhttpd/mhd_align.h b/src/microhttpd/mhd_align.h
index 4169236f..47e9f199 100644
--- a/src/microhttpd/mhd_align.h
+++ b/src/microhttpd/mhd_align.h
@@ -26,8 +26,8 @@
#ifndef MHD_ALIGN_H
#define MHD_ALIGN_H 1
-#include <stdint.h>
#include "mhd_options.h"
+#include <stdint.h>
#ifdef HAVE_STDDEF_H
#include <stddef.h>
#endif
diff --git a/src/microhttpd/mhd_bithelpers.h b/src/microhttpd/mhd_bithelpers.h
index eace0eb9..8f7058a8 100644
--- a/src/microhttpd/mhd_bithelpers.h
+++ b/src/microhttpd/mhd_bithelpers.h
@@ -26,13 +26,13 @@
#ifndef MHD_BITHELPERS_H
#define MHD_BITHELPERS_H 1
+#include "mhd_options.h"
#include <stdint.h>
#if defined(_MSC_FULL_VER) && (! defined(__clang__) || (defined(__c2__) && \
defined(__OPTIMIZE__)))
/* Declarations for VC & Clang/C2 built-ins */
#include <intrin.h>
#endif /* _MSC_FULL_VER */
-#include "mhd_options.h"
#include "mhd_assert.h"
#include "mhd_byteorder.h"
#if _MHD_BYTE_ORDER == _MHD_LITTLE_ENDIAN || _MHD_BYTE_ORDER == _MHD_BIG_ENDIAN
diff --git a/src/microhttpd/test_str_token_remove.c
b/src/microhttpd/test_str_token_remove.c
index af1e7527..8334ba97 100644
--- a/src/microhttpd/test_str_token_remove.c
+++ b/src/microhttpd/test_str_token_remove.c
@@ -23,9 +23,9 @@
* @author Karlson2k (Evgeny Grin)
*/
+#include "mhd_options.h"
#include <string.h>
#include <stdio.h>
-#include "mhd_options.h"
#include "mhd_str.h"
#include "mhd_assert.h"
diff --git a/src/microhttpd/test_str_tokens_remove.c
b/src/microhttpd/test_str_tokens_remove.c
index b14ed908..f5347868 100644
--- a/src/microhttpd/test_str_tokens_remove.c
+++ b/src/microhttpd/test_str_tokens_remove.c
@@ -23,9 +23,9 @@
* @author Karlson2k (Evgeny Grin)
*/
+#include "mhd_options.h"
#include <string.h>
#include <stdio.h>
-#include "mhd_options.h"
#include "mhd_str.h"
#include "mhd_assert.h"
diff --git a/src/microhttpd/tsearch.c b/src/microhttpd/tsearch.c
index 0a65ce94..26a5c769 100644
--- a/src/microhttpd/tsearch.c
+++ b/src/microhttpd/tsearch.c
@@ -9,8 +9,8 @@
* Totally public domain.
*/
-#include "tsearch.h"
#include "mhd_options.h"
+#include "tsearch.h"
#ifdef HAVE_STDDEF_H
#include <stddef.h>
#else /* ! HAVE_STDDEF_H */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (07829e85 -> 9cb16af3), gnunet, 2021/10/24
- [libmicrohttpd] 05/06: Fixed: include "MHD_config.h" before other headers to set correct macros,
gnunet <=
- [libmicrohttpd] 02/06: configure: fixed harmless typo in cache variable name, gnunet, 2021/10/24
- [libmicrohttpd] 06/06: connection.c: fixed copy-paste error in comment, gnunet, 2021/10/24
- [libmicrohttpd] 01/06: configure: improved reporting on Solaris, gnunet, 2021/10/24
- [libmicrohttpd] 03/06: Added check at configure time for PAGESIZE and PAGE_SIZE macros, gnunet, 2021/10/24
- [libmicrohttpd] 04/06: websocket_threaded_example: fixed compiler warning on x32 platforms, gnunet, 2021/10/24