Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 18518c0

Browse files
committed
needs float.h for DBL_MIN under FreeBSD
1 parent 50db091 commit 18518c0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/backend/utils/adt/date.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.7 1997/04/02 18:33:09 scrappy Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.8 1997/04/04 08:53:08 scrappy Exp $
1313
*
1414
* NOTES
1515
* This code is actually (almost) unused.
@@ -32,6 +32,9 @@
3232

3333
#include "postgres.h"
3434
#include "miscadmin.h"
35+
#ifdef HAVE_FLOAT_H
36+
# include <float.h>
37+
#endif
3538
#ifdef HAVE_LIMITS_H
3639
# include <limits.h>
3740
#endif

0 commit comments

Comments
 (0)