From c5249103fdc8b237cf6e577190a5b06610baae59 Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Fri, 19 Aug 2005 11:14:04 +0000 Subject: [PATCH] sol10 needs them git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@581 152afb58-edef-0310-8abb-c4023f1b3aa9 --- src/mod_cgi.c | 4 ++++ src/network_write.c | 12 ++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/mod_cgi.c b/src/mod_cgi.c index d5a2ae20..3dbebcfb 100644 --- a/src/mod_cgi.c +++ b/src/mod_cgi.c @@ -30,6 +30,10 @@ #include "plugin.h" +#ifdef HAVE_SYS_FILIO_H +# include +#endif + enum {EOL_UNSET, EOL_N, EOL_RN}; typedef struct { diff --git a/src/network_write.c b/src/network_write.c index 97701e97..9f0d9d15 100644 --- a/src/network_write.c +++ b/src/network_write.c @@ -1,10 +1,6 @@ #include #include #include -#ifdef HAVE_SYS_RESOURCE_H -#include -#endif - #include #include #include @@ -20,6 +16,14 @@ #include "network_backends.h" +#ifdef HAVE_SYS_FILIO_H +# include +#endif + +#ifdef HAVE_SYS_RESOURCE_H +#include +#endif + int network_write_chunkqueue_write(server *srv, connection *con, chunkqueue *cq) { const int fd = con->fd; chunk *c;