Browse Source

sol10 needs them

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@581 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.2
Jan Kneschke 17 years ago
parent
commit
c5249103fd
  1. 4
      src/mod_cgi.c
  2. 12
      src/network_write.c

4
src/mod_cgi.c

@ -30,6 +30,10 @@
#include "plugin.h"
#ifdef HAVE_SYS_FILIO_H
# include <sys/filio.h>
#endif
enum {EOL_UNSET, EOL_N, EOL_RN};
typedef struct {

12
src/network_write.c

@ -1,10 +1,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
@ -20,6 +16,14 @@
#include "network_backends.h"
#ifdef HAVE_SYS_FILIO_H
# include <sys/filio.h>
#endif
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
int network_write_chunkqueue_write(server *srv, connection *con, chunkqueue *cq) {
const int fd = con->fd;
chunk *c;

Loading…
Cancel
Save