From 8570114dc1a7a655043d94a6eb1ebf295f1d3647 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 10 Jun 2012 12:43:00 +0300 Subject: [PATCH] Make include files work without having to include other ones first --- src/include/access/hio.h | 1 + src/include/utils/json.h | 1 + 2 files changed, 2 insertions(+) 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); -- 2.40.0