diff --git a/src/stralloc.c b/src/stralloc.c
index f27e4ad1030aba2302a32d06244e2a94b97a4b25..8fc19904240fd6f09523c79c467d072f99a5d937 100644
--- a/src/stralloc.c
+++ b/src/stralloc.c
@@ -15,10 +15,15 @@
 #include "stuff.h"
 
 #include <errno.h>
+#include <float.h>
 #include <ctype.h>
 #include <math.h>
 
-RCSID("$Id: stralloc.c,v 1.56 1999/03/04 06:05:11 hubbe Exp $");
+#ifndef HUGE
+#define HUGE HUGE_VAL
+#endif /*!HUGE*/
+
+RCSID("$Id: stralloc.c,v 1.57 1999/03/23 03:04:00 marcus Exp $");
 
 #define BEGIN_HASH_SIZE 997
 #define MAX_AVG_LINK_LENGTH 3