$OpenBSD: patch-tool_uriparse_c,v 1.2 2018/02/08 13:01:30 sthen Exp $
Index: tool/uriparse.c
--- tool/uriparse.c.orig
+++ tool/uriparse.c
@@ -42,6 +42,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)
