openbsd-ports/www/uriparser/patches/patch-tool_uriparse_c
bentley 55bebe1a61 Import uriparser-0.8.0.
uriparser is a strictly RFC 3986 compliant URI parsing and handling
library written in C. uriparser is cross-platform, fast, supports
Unicode and is licensed under the New BSD license.


ok sthen@ benoit@
2013-12-24 20:43:25 +00:00

12 lines
358 B
Plaintext

$OpenBSD: patch-tool_uriparse_c,v 1.1.1.1 2013/12/24 20:43:25 bentley Exp $
--- tool/uriparse.c.orig Mon Dec 23 08:36:39 2013
+++ tool/uriparse.c Mon Dec 23 08:36:41 2013
@@ -41,6 +41,7 @@
#include <uriparser/Uri.h>
#include <arpa/inet.h>
#include <netinet/in.h>
+#include <sys/socket.h>
#define RANGE(x) (int)((x).afterLast-(x).first), ((x).first)