$NetBSD$

--- fireSim.c.orig	1996-10-02 17:05:32.000000000 -0400
+++ fireSim.c
@@ -29,7 +29,13 @@
 
 #include "fireLib.h"
 
+#ifndef INFINITY
+#ifdef HUGE_VAL
+#define INFINITY HUGE_VAL
+#else
 #define INFINITY 999999999.     /* or close enough */
+#endif
+#endif
 
 /* NOTE 1: Change these to modify map size & resolution. */
 static int    Rows   = 101;     /* Number of rows in each map. */
