security/sslproxy: Fix build

This commit is contained in:
Muhammad Moinur Rahman 2019-09-26 12:31:47 +00:00
parent b8a8de8a47
commit ff3f155f75
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512896
2 changed files with 0 additions and 24 deletions

View file

@ -1,11 +0,0 @@
--- pxyconn.c.orig 2019-05-08 11:38:14 UTC
+++ pxyconn.c
@@ -938,7 +938,7 @@ pxy_try_remove_sslproxy_header(pxy_conn_child_ctx_t *c
}
}
-#ifdef __APPLE__
+#if defined(__FreeBSD__) || defined(__APPLE__)
#define getdtablecount() 0
/*

View file

@ -1,13 +0,0 @@
--- pxyconn.h.orig 2019-02-20 19:30:43 UTC
+++ pxyconn.h
@@ -30,6 +30,10 @@
#ifndef PXYCONN_H
#define PXYCONN_H
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+#include <netinet/in.h>
+#endif
+
#include "proxy.h"
#include "opts.h"
#include "attrib.h"