openbsd-ports/net/libproxy/patches/patch-libproxy_proxy_cpp
ajacoutot 518ac6d7b6 Major update to libproxy-0.4.6.
Several patches from the FreeBSD port.

Create -mozilla and -webkit subpackages. Do NOT build -webkit by default
because of a cyclic dependency:
libproxy,-webkit -> webkit -> libsoup -> libproxy

tested in a bulk by landry@
ok landry@
2011-03-24 06:50:09 +00:00

13 lines
479 B
Plaintext

$OpenBSD: patch-libproxy_proxy_cpp,v 1.1 2011/03/24 06:50:09 ajacoutot Exp $
--- libproxy/proxy.cpp.orig Tue Mar 22 09:24:47 2011
+++ libproxy/proxy.cpp Tue Mar 22 09:24:55 2011
@@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
******************************************************************************/
+#include <sys/types.h>
+
#include <vector>
#include <cstring> // For strdup()
#include <iostream> // For cerr