Index: am.h
--- am.h.orig	2011-09-19 19:24:46.000000000 +0200
+++ am.h	2011-09-28 12:20:13.000000000 +0200
@@ -22,6 +22,11 @@
  
  */
 
+#if defined(__STDC__) && __STDC__+0 < 199901L
+#undef isinf
+#define isinf(x) 0
+#endif
+
 #if	sun
 #define	INFINITY_NAME	"Infinity"	/* set this to the name of the infinity constant as displayed by printf(3) */
 #define NAN_NAME	"NaN"		/* set this to the name of the NaN constant as displayed by printf(3) */
