added check for HAVE_LINUX_NETFILTER_IPV4_H
This commit is contained in:
@ -228,7 +228,7 @@ static int cgi_htrd_peek_script_output (qse_htrd_t* htrd, qse_htre_t* req)
|
||||
qse_mchar_t* endptr;
|
||||
|
||||
/* TODO: check the syntax of status value??? if not numeric??? */
|
||||
QSE_MSTRTONUM (nstatus, req->attr.status, &endptr, 10);
|
||||
QSE_MBSTONUM (nstatus, req->attr.status, &endptr, 10);
|
||||
|
||||
snprintf (buf, QSE_COUNTOF(buf),
|
||||
QSE_MT("HTTP/%d.%d %d "),
|
||||
|
@ -76,7 +76,9 @@
|
||||
# endif
|
||||
# if defined(__linux__)
|
||||
# include <limits.h>
|
||||
# include <linux/netfilter_ipv4.h> /* SO_ORIGINAL_DST */
|
||||
# if defined(HAVE_LINUX_NETFILTER_IPV4_H)
|
||||
# include <linux/netfilter_ipv4.h> /* SO_ORIGINAL_DST */
|
||||
# endif
|
||||
# if !defined(IP_TRANSPARENT)
|
||||
# define IP_TRANSPARENT 19
|
||||
# endif
|
||||
|
Reference in New Issue
Block a user