openbsd-ports/print/htmldoc/patches/patch-htmldoc_http_h
steven daeb0d956e update to htmldoc 1.8.27
from maintainer Antoine Jacoutot <ajacoutot at lphp.org>
2006-09-23 10:14:34 +00:00

13 lines
540 B
Plaintext

$OpenBSD: patch-htmldoc_http_h,v 1.1 2006/09/23 10:14:34 steven Exp $
--- htmldoc/http.h.orig Fri Sep 22 19:28:19 2006
+++ htmldoc/http.h Fri Sep 22 19:28:42 2006
@@ -100,7 +100,7 @@ extern "C" {
#if defined(AF_INET6) && !defined(s6_addr32)
# if defined(__sun)
# define s6_addr32 _S6_un._S6_u32
-# elif defined(__FreeBSD__) || defined(__APPLE__)
+# elif defined(__FreeBSD__) || defined(__APPLE__) || defined(__OpenBSD__)
# define s6_addr32 __u6_addr.__u6_addr32
# elif defined(__osf__)
# define s6_addr32 s6_un.sa6_laddr