summaryrefslogtreecommitdiff
path: root/net/fping6/patches/patch-ab
blob: 4e1734b307c00cb22ce56f41af721c489d5b4ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.1 2003/09/04 12:47:39 abs Exp $

--- fping.c.orig	Thu Sep  4 13:44:10 2003
+++ fping.c
@@ -1625,8 +1625,10 @@ int wait_for_reply( void )
 
 	ip = ( struct ip* )buffer;
 #ifndef IPV6
-#if defined( __alpha__ ) && __STDC__ && !defined( __GLIBC__ )
-	/* The alpha headers are decidedly broken.
+#if defined( __alpha__ ) && __STDC__ && !defined( __GLIBC__ ) && !defined( __NetBSD__ )
+	/* The alpha headers are decidedly broken. 
+	 * XXX _WHAT_ 'alpha'? OSF? True64? Linux?... Certainly not NetBSD
+	 * XXX If defining for a particular broken OS then _include the OS_.
 	 * Using an ANSI compiler, it provides ip_vhl instead of ip_hl and
 	 * ip_v.  So, to get ip_hl, we mask off the bottom four bits.
 	 */