From: Robert Haas <rhaas@postgresql.org>
Date: Mon, 3 Nov 2014 17:23:08 +0000 (-0500)
Subject: pqmq.h needs to include something that defines StringInfo.
X-Git-Tag: REL9_5_ALPHA1~1272
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=585e0b9b277ad3b17a582b20daa8d09bd0ace8bd;p=postgresql

pqmq.h needs to include something that defines StringInfo.

Reported by Peter Eisentraut.
---

diff --git a/src/include/libpq/pqmq.h b/src/include/libpq/pqmq.h
index 6bb24d9928..f8e68c9cb0 100644
--- a/src/include/libpq/pqmq.h
+++ b/src/include/libpq/pqmq.h
@@ -13,6 +13,7 @@
 #ifndef PQMQ_H
 #define PQMQ_H
 
+#include "lib/stringinfo.h"
 #include "storage/shm_mq.h"
 
 extern void	pq_redirect_to_shm_mq(shm_mq *, shm_mq_handle *);