8000 Add float.h for DBL_{MIN,MAX} under FreeBSD · postgrespro/postgres_cluster@719a413 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 719a413

Browse files
committed
Add float.h for DBL_{MIN,MAX} under FreeBSD
1 parent 0ccaaac commit 719a413

File tree

1 file changed

+4
-1
lines changed
  • src/backend/utils/adt

1 file changed

+4
-1
lines changed

src/backend/utils/adt/dt.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.8 1997/03/25 08:09:32 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.9 1997/03/25 20:00:52 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -20,6 +20,9 @@
2020

2121
#include "postgres.h"
2222
#include <miscadmin.h>
23+
#ifdef HAVE_FLOAT_H
24+
# include <float.h>
25+
#endif
2326
#ifndef USE_POSIX_TIME
2427
#include <sys/timeb.h>
2528
#endif

0 commit comments

Comments
 (0)
0