Project

General

Profile

Bug #2735 ยป 09-fileio.h.patch

alp, 2016-07-18 07:47

View differences:

src/mod_cgi.c 2016-07-18 09:33:51.831621532 +0300
36 36
#include <stdio.h>
37 37
#include <fcntl.h>
38 38

  
39
#ifdef HAVE_SYS_FILIO_H
40
# include <sys/filio.h>
41
#endif
42

  
39 43
enum {EOL_UNSET, EOL_N, EOL_RN};
40 44

  
41 45
typedef struct {
42
-- src/mod_proxy.c.1	2016-07-18 09:37:05.438096285 +0300
46
++ src/mod_proxy.c	2016-07-18 09:37:45.538985992 +0300
......
30 30

  
31 31
#include "sys-socket.h"
32 32

  
33
#ifdef HAVE_SYS_FILIO_H
34
# include <sys/filio.h>
35
#endif
36

  
33 37
#define data_proxy data_fastcgi
34 38
#define data_proxy_init data_fastcgi_init
35 39

  
36
-- src/mod_fastcgi.c.1	2016-07-18 09:46:50.109345372 +0300
40
++ src/mod_fastcgi.c	2016-07-18 09:47:45.514034225 +0300
41 41

  
42 42
#include "sys-socket.h"
43 43

  
44
#ifdef HAVE_SYS_FILIO_H
45
# include <sys/filio.h>
46
#endif
44 47
#ifdef HAVE_SYS_UIO_H
45 48
#include <sys/uio.h>
46 49
#endif
47
-- src/connections-glue.c.1	2016-07-18 10:00:37.972468076 +0300
50
++ src/connections-glue.c	2016-07-18 10:01:25.720693205 +0300
......
12 12
# include <openssl/err.h>
13 13
#endif
14 14

  
15
#ifdef HAVE_SYS_FILIO_H
16
# include <sys/filio.h>
17
#endif
18

  
15 19
const char *connection_get_state(connection_state_t state) {
16 20
	switch (state) {
17 21
	case CON_STATE_CONNECT: return "connect";
    (1-1/1)