d79533ea5b
Add !defined(__NetBSD__) to a broken __alpha__ test.
17 lines
714 B
Text
17 lines
714 B
Text
$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.
|
|
*/
|