aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-09-01 11:03:05 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-09-01 11:03:05 +0300
commit2452f03c3f665079af4154b0b51c9e5fe276e0f9 (patch)
tree19abb92c95a4c4863fbf26e1d18e5c3d42d11b2b
parentb21d5bbac143440864eddad5be63f27774e055fe (diff)
downloadlibmicrohttpd-2452f03c3f665079af4154b0b51c9e5fe276e0f9.tar.gz
libmicrohttpd-2452f03c3f665079af4154b0b51c9e5fe276e0f9.zip
configure: removed sys/types.h duplicated check
-rw-r--r--configure.ac2
-rw-r--r--src/microhttpd/mhd_str.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c2c5e44d..f08302de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1050,7 +1050,7 @@ fd = epoll_create1(EPOLL_CLOEXEC);]])],
1050 AC_DEFINE([[HAVE_EPOLL_CREATE1]], [[1]], [Define if you have epoll_create1 function.])])) 1050 AC_DEFINE([[HAVE_EPOLL_CREATE1]], [[1]], [Define if you have epoll_create1 function.])]))
1051 1051
1052# Check for headers that are ALWAYS required 1052# Check for headers that are ALWAYS required
1053AC_CHECK_HEADERS_ONCE([fcntl.h errno.h limits.h stdio.h sys/types.h], [], 1053AC_CHECK_HEADERS_ONCE([fcntl.h errno.h limits.h stdio.h], [],
1054 [AC_MSG_ERROR([Compiling libmicrohttpd requires standard UNIX headers files])], [AC_INCLUDES_DEFAULT]) 1054 [AC_MSG_ERROR([Compiling libmicrohttpd requires standard UNIX headers files])], [AC_INCLUDES_DEFAULT])
1055 1055
1056# Check for optional headers 1056# Check for optional headers
diff --git a/src/microhttpd/mhd_str.h b/src/microhttpd/mhd_str.h
index a03dc49f..4a72e35e 100644
--- a/src/microhttpd/mhd_str.h
+++ b/src/microhttpd/mhd_str.h
@@ -31,7 +31,9 @@
31#ifdef HAVE_STDDEF_H 31#ifdef HAVE_STDDEF_H
32#include <stddef.h> 32#include <stddef.h>
33#endif /* HAVE_STDDEF_H */ 33#endif /* HAVE_STDDEF_H */
34#ifdef HAVE_SYS_TYPES_H
34#include <sys/types.h> 35#include <sys/types.h>
36#endif /* HAVE_SYS_TYPES_H */
35#ifdef HAVE_STDBOOL_H 37#ifdef HAVE_STDBOOL_H
36#include <stdbool.h> 38#include <stdbool.h>
37#endif /* HAVE_STDBOOL_H */ 39#endif /* HAVE_STDBOOL_H */