openbsd-ports/games/bzflag/patches/patch-src_c-ares_ares_init_c

14 lines
406 B
Plaintext
Raw Normal View History

$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