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

--- fping.c.orig	Fri Jul 20 18:10:26 2001
+++ fping.c
@@ -1547,8 +1547,10 @@ int wait_for_reply( void )
 
 	ip = ( struct ip* )buffer;
 
-#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.
 	 */