openbsd-ports/games/bzflag/patches/patch-src_c-ares_ares_gethostbyaddr_c
pvalchev 0420b7b743 Update to bzflag-2.0.8 and unbreak this port by switching it to
use its own zlib (breaks with ours, someone should check)
from Deanna Phillips <deanna@sdf.lonestar.org>
2006-09-22 03:42:56 +00:00

14 lines
413 B
Plaintext

$OpenBSD: patch-src_c-ares_ares_gethostbyaddr_c,v 1.1 2006/09/22 03:42:57 pvalchev Exp $
--- src/c-ares/ares_gethostbyaddr.c.orig Sun Aug 6 07:58:38 2006
+++ src/c-ares/ares_gethostbyaddr.c Sun Aug 6 07:58:49 2006
@@ -23,7 +23,9 @@
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/nameser.h>
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
#include <arpa/nameser_compat.h>
+#endif
#endif
#include <stdio.h>