summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2012-06-10 09:43:00 +0000
committerPeter Eisentraut2012-06-10 09:46:14 +0000
commit8570114dc1a7a655043d94a6eb1ebf295f1d3647 (patch)
treeccf76beedb7ca3046873305acec9047b34555e94
parent28ac7972873bd314d4837807396fe44571b5cb50 (diff)
Make include files work without having to include other ones first
-rw-r--r--src/include/access/hio.h1
-rw-r--r--src/include/utils/json.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/access/hio.h b/src/include/access/hio.h
index f9dc50cc65..a3f8a457b8 100644
--- a/src/include/access/hio.h
+++ b/src/include/access/hio.h
@@ -14,6 +14,7 @@
#ifndef HIO_H
#define HIO_H
+#include "access/heapam.h"
#include "access/htup.h"
#include "utils/relcache.h"
#include "storage/buf.h"
diff --git a/src/include/utils/json.h b/src/include/utils/json.h
index fa0d4fcad7..c355e0f73e 100644
--- a/src/include/utils/json.h
+++ b/src/include/utils/json.h
@@ -15,6 +15,7 @@
#define JSON_H
#include "fmgr.h"
+#include "lib/stringinfo.h"
extern Datum json_in(PG_FUNCTION_ARGS);
extern Datum json_out(PG_FUNCTION_ARGS);