$OpenBSD: patch-lib_x509_rfc2818_hostname_c,v 1.2 2014/08/25 16:27:57 ajacoutot Exp $

rfc2818_hostname.c:107: error: storage size of 'ipv6' isn't known

--- lib/x509/rfc2818_hostname.c.orig	Mon Aug 25 17:18:14 2014
+++ lib/x509/rfc2818_hostname.c	Mon Aug 25 17:18:28 2014
@@ -25,6 +25,7 @@
 #include <common.h>
 #include <gnutls_errors.h>
 #include <system.h>
+#include <netinet/in.h>
 
 static int
 check_ip(gnutls_x509_crt_t cert, const void *ip, unsigned ip_size)
