aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-27 00:05:19 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-12-01 17:42:16 +0300
commit5bbf69f67d4d1c386d7ec4cd0b359f038a73fee2 (patch)
tree47573771b1aa82418b9f1fcbd121c8b26c9c9363
parent8d1d0b8ff813b0b813d8dbdf693006dcc34ad089 (diff)
downloadlibmicrohttpd-5bbf69f67d4d1c386d7ec4cd0b359f038a73fee2.tar.gz
libmicrohttpd-5bbf69f67d4d1c386d7ec4cd0b359f038a73fee2.zip
Fixed precompiler warning for tests
-rw-r--r--src/microhttpd/test_str.c2
-rw-r--r--src/microhttpd/test_upgrade.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/test_str.c b/src/microhttpd/test_str.c
index ae94917e..3f921303 100644
--- a/src/microhttpd/test_str.c
+++ b/src/microhttpd/test_str.c
@@ -23,10 +23,10 @@
23 * @author Karlson2k (Evgeny Grin) 23 * @author Karlson2k (Evgeny Grin)
24 */ 24 */
25 25
26#include "mhd_options.h"
26#include <stdio.h> 27#include <stdio.h>
27#include <locale.h> 28#include <locale.h>
28#include <string.h> 29#include <string.h>
29#include "mhd_options.h"
30#ifdef HAVE_INTTYPES_H 30#ifdef HAVE_INTTYPES_H
31#include <inttypes.h> 31#include <inttypes.h>
32#else /* ! HAVE_INTTYPES_H */ 32#else /* ! HAVE_INTTYPES_H */
diff --git a/src/microhttpd/test_upgrade.c b/src/microhttpd/test_upgrade.c
index 68ff20df..710af1a4 100644
--- a/src/microhttpd/test_upgrade.c
+++ b/src/microhttpd/test_upgrade.c
@@ -25,6 +25,7 @@
25 * @author Karlson2k (Evgeny Grin) 25 * @author Karlson2k (Evgeny Grin)
26 */ 26 */
27 27
28#include "mhd_options.h"
28#include <stdlib.h> 29#include <stdlib.h>
29#include <string.h> 30#include <string.h>
30#include <stdio.h> 31#include <stdio.h>
@@ -34,7 +35,6 @@
34#ifndef WINDOWS 35#ifndef WINDOWS
35#include <unistd.h> 36#include <unistd.h>
36#endif 37#endif
37#include "mhd_options.h"
38#ifdef HAVE_STDBOOL_H 38#ifdef HAVE_STDBOOL_H
39#include <stdbool.h> 39#include <stdbool.h>
40#endif /* HAVE_STDBOOL_H */ 40#endif /* HAVE_STDBOOL_H */