$NetBSD: patch-ab,v 1.3 2007/11/30 19:13:51 rillig Exp $

--- machine.h.in.orig	1995-03-27 15:37:41.000000000 +0000
+++ machine.h.in	2007-11-30 19:19:57.000000000 +0000
@@ -119,6 +119,8 @@
 /* if the system has complex.h */
 #ifdef HAVE_COMPLEX_H
 #include	<complex.h>
+#undef /* prevent autoconf from modifying this line */ \
+	complex /* zmachine.h defines a structure of that name. */
 #endif
 
 /* If prototypes are available & ANSI_C not yet defined, then define it,
@@ -211,6 +213,7 @@
 #endif
 
 /* for non-ANSI systems */
+#ifndef ANSI_C
 #ifndef HUGE_VAL
 #define HUGE_VAL HUGE
 #else
@@ -218,6 +221,7 @@
 #define HUGE HUGE_VAL
 #endif
 #endif
+#endif
 
 
 #ifdef ANSI_C
