pkgsrc/security/scanssh/patches/patch-aa
2006-01-20 00:24:42 +00:00

16 lines
448 B
Text

$NetBSD: patch-aa,v 1.3 2006/01/20 00:24:42 joerg Exp $
--- exclude.h.orig Tue Mar 16 08:32:44 2004
+++ exclude.h Mon Aug 16 20:36:27 2004
@@ -28,6 +28,11 @@
#ifndef _EXCLUDE_H_
#define _EXCLUDE_H_
+#if defined(__NetBSD__) && !defined(sa_family_t)
+typedef int sa_family_t; /* NetBSD 1.5 needs this */
+#define sa_family_t int /* ditto, taken from -current */
+#endif
+
struct exclude {
TAILQ_ENTRY (exclude) e_next;