commit b21d5bbac143440864eddad5be63f27774e055fe
parent 6942c69240fb899694c50f74c296a80f461bfc84
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 1 Sep 2021 10:57:20 +0300
configure: moved sys/stat.h to optional headers
sys/stat.h is not actually used by MHD code at the moment
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -1050,14 +1050,14 @@ fd = epoll_create1(EPOLL_CLOEXEC);]])],
AC_DEFINE([[HAVE_EPOLL_CREATE1]], [[1]], [Define if you have epoll_create1 function.])]))
# Check for headers that are ALWAYS required
-AC_CHECK_HEADERS_ONCE([fcntl.h errno.h limits.h stdio.h sys/stat.h sys/types.h], [],
+AC_CHECK_HEADERS_ONCE([fcntl.h errno.h limits.h stdio.h sys/types.h], [],
[AC_MSG_ERROR([Compiling libmicrohttpd requires standard UNIX headers files])], [AC_INCLUDES_DEFAULT])
# Check for optional headers
AC_CHECK_HEADERS([sys/types.h sys/time.h sys/msg.h time.h sys/mman.h sys/ioctl.h \
sys/socket.h sys/select.h netdb.h netinet/in.h netinet/ip.h netinet/tcp.h arpa/inet.h \
endian.h machine/endian.h sys/endian.h sys/param.h sys/machine.h sys/byteorder.h machine/param.h sys/isa_defs.h \
- signal.h \
+ signal.h sys/stat.h \
inttypes.h stddef.h stdlib.h unistd.h \
sockLib.h inetLib.h net/if.h], [], [], [AC_INCLUDES_DEFAULT])