openbsd-ports/games/bzflag/patches/patch-src_c-ares_ares_init_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
406 B
Plaintext

$OpenBSD: patch-src_c-ares_ares_init_c,v 1.1 2006/09/22 03:42:57 pvalchev Exp $
--- src/c-ares/ares_init.c.orig Sun Aug 6 07:57:42 2006
+++ src/c-ares/ares_init.c Sun Aug 6 07:57:54 2006
@@ -31,7 +31,9 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <arpa/nameser.h>
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
#include <arpa/nameser_compat.h>
+#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif