2013-09-26 17:14:40 +02:00

14 lines
417 B
Plaintext

$NetBSD: patch-ac,v 1.2 2010/05/09 22:09:30 pettai Exp $
--- src/nameinfo.c.orig 2010-03-22 15:32:43.000000000 +0100
+++ src/nameinfo.c 2010-03-22 15:31:57.000000000 +0100
@@ -40,7 +40,7 @@
#include <sys/systemcfg.h>
#endif
-#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
+#if defined (HAVE_STRUCT_SOCKADDR_SA_LEN) && !defined(__NetBSD__)
# ifdef _SIZEOF_ADDR_IFREQ
# define SIZEOF_IFREQ(x) _SIZEOF_ADDR_IFREQ(x)
# else