summaryrefslogtreecommitdiff
path: root/contrib/bit/varbit.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bit/varbit.h')
-rw-r--r--contrib/bit/varbit.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/contrib/bit/varbit.h b/contrib/bit/varbit.h
index 44007ad10a9..0b7e3308c48 100644
--- a/contrib/bit/varbit.h
+++ b/contrib/bit/varbit.h
@@ -1,5 +1,26 @@
-#include "c.h"
+#include <stdlib.h>
+#include <ctype.h>
+#include <errno.h>
+
+#include <float.h> /* faked on sunos4 */
+
+#include <math.h>
+
#include "postgres.h"
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#ifndef MAXINT
+#define MAXINT INT_MAX
+#endif
+#else
+#ifdef HAVE_VALUES_H
+#include <values.h>
+#endif
+#endif
+#include "fmgr.h"
+#include "utils/timestamp.h"
+#include "utils/builtins.h"
+
#define HEXDIG(z) (z)<10 ? ((z)+'0') : ((z)-10+'A')