From 4c39047ce270a9a97dcadecca8623f2f3e695260 Mon Sep 17 00:00:00 2001
From: Marcus Comstedt <marcus@mc.pp.se>
Date: Tue, 23 Mar 1999 04:04:00 +0100
Subject: [PATCH] Fixed math stuff to compile on NT.

Rev: src/stralloc.c:1.57
---
 src/stralloc.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/stralloc.c b/src/stralloc.c
index f27e4ad103..8fc1990424 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
-- 
GitLab