NAME_MAX needs sys/syslimits.h on cygwin

git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@88 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/release-1.3.13
Jan Kneschke 19 years ago
parent a835b18383
commit 9b59d5800f

@ -55,7 +55,7 @@ AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netinet/in.h stdlib.h string.h \
sys/socket.h sys/time.h unistd.h sys/sendfile.h sys/uio.h \
getopt.h sys/epoll.h sys/select.h poll.h sys/poll.h sys/devpoll.h sys/filio.h \
sys/mman.h sys/event.h sys/port.h winsock2.h pwd.h \
sys/mman.h sys/event.h sys/port.h winsock2.h pwd.h sys/syslimits.h \
sys/resource.h sys/un.h syslog.h])
# Checks for typedefs, structures, and compiler characteristics.

@ -30,6 +30,10 @@
#include <attr/attributes.h>
#endif
#ifdef HAVE_SYS_SYSLIMITS_H
#include <sys/syslimits.h>
#endif
int http_response_write_basic_header(server *srv, connection *con) {
size_t i;
buffer *b;

Loading…
Cancel
Save