aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-09-01 10:57:20 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-09-01 10:57:20 +0300
commitb21d5bbac143440864eddad5be63f27774e055fe (patch)
tree9c2a1992e71ff5307fd75247caca22b00aed4a4c
parent6942c69240fb899694c50f74c296a80f461bfc84 (diff)
downloadlibmicrohttpd-b21d5bbac143440864eddad5be63f27774e055fe.tar.gz
libmicrohttpd-b21d5bbac143440864eddad5be63f27774e055fe.zip
configure: moved sys/stat.h to optional headers
sys/stat.h is not actually used by MHD code at the moment
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a470acf7..c2c5e44d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1050,14 +1050,14 @@ 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/stat.h sys/types.h], [], 1053AC_CHECK_HEADERS_ONCE([fcntl.h errno.h limits.h stdio.h sys/types.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
1057AC_CHECK_HEADERS([sys/types.h sys/time.h sys/msg.h time.h sys/mman.h sys/ioctl.h \ 1057AC_CHECK_HEADERS([sys/types.h sys/time.h sys/msg.h time.h sys/mman.h sys/ioctl.h \
1058 sys/socket.h sys/select.h netdb.h netinet/in.h netinet/ip.h netinet/tcp.h arpa/inet.h \ 1058 sys/socket.h sys/select.h netdb.h netinet/in.h netinet/ip.h netinet/tcp.h arpa/inet.h \
1059 endian.h machine/endian.h sys/endian.h sys/param.h sys/machine.h sys/byteorder.h machine/param.h sys/isa_defs.h \ 1059 endian.h machine/endian.h sys/endian.h sys/param.h sys/machine.h sys/byteorder.h machine/param.h sys/isa_defs.h \
1060 signal.h \ 1060 signal.h sys/stat.h \
1061 inttypes.h stddef.h stdlib.h unistd.h \ 1061 inttypes.h stddef.h stdlib.h unistd.h \
1062 sockLib.h inetLib.h net/if.h], [], [], [AC_INCLUDES_DEFAULT]) 1062 sockLib.h inetLib.h net/if.h], [], [], [AC_INCLUDES_DEFAULT])
1063 1063