diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-10-10 01:34:00 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-10-10 01:34:00 +0000 |
commit | d7527540f2dd8f831d4a0ec82a92c59b0d0a8c62 (patch) | |
tree | 8e73656233b940a0fc7cc5f329ca2c9eac3f79bd | |
parent | 313ed1ed9498f977262e180a080c7748197ced5c (diff) | |
download | postgresql-d7527540f2dd8f831d4a0ec82a92c59b0d0a8c62.tar.gz postgresql-d7527540f2dd8f831d4a0ec82a92c59b0d0a8c62.zip |
<limits.h> is now needed here, for INT_MAX. Per Michael Fuhr.
-rw-r--r-- | src/interfaces/ecpg/pgtypeslib/timestamp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/pgtypeslib/timestamp.c b/src/interfaces/ecpg/pgtypeslib/timestamp.c index 5b7928b182e..ad40a2903c9 100644 --- a/src/interfaces/ecpg/pgtypeslib/timestamp.c +++ b/src/interfaces/ecpg/pgtypeslib/timestamp.c @@ -1,6 +1,8 @@ #include "postgres_fe.h" + #include <time.h> #include <float.h> +#include <limits.h> #include <math.h> #ifdef __FAST_MATH__ |