]> granicus.if.org Git - postgresql/commitdiff
Fix assorted compilation failures in contrib
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 29 Aug 2012 03:43:09 +0000 (23:43 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 29 Aug 2012 03:50:49 +0000 (23:50 -0400)
Evidently I failed to test a compile after my earlier header shuffling.

contrib/auto_explain/auto_explain.c
contrib/dblink/dblink.c
contrib/pageinspect/fsmfuncs.c
contrib/tablefunc/tablefunc.c

index ad333b664471aee25c15ff6dd4dcde5ac702845c..1814673c78d3fabdeef7293f0fe814549b9e5730 100644 (file)
@@ -12,6 +12,8 @@
  */
 #include "postgres.h"
 
+#include <limits.h>
+
 #include "commands/explain.h"
 #include "executor/instrument.h"
 #include "utils/guc.h"
index a67a836eba1fc5e3ea14701284b831269fbc3357..9dd0fc547bdcbcb55071083474a734e1d55b9c35 100644 (file)
@@ -41,6 +41,7 @@
 #include "catalog/pg_type.h"
 #include "executor/spi.h"
 #include "foreign/foreign.h"
+#include "lib/stringinfo.h"
 #include "mb/pg_wchar.h"
 #include "miscadmin.h"
 #include "parser/scansup.h"
index c96d4be2b9db2a96ea73324810e7f434fd986379..4750f51f051da4b3468cad6d5ab99b69919d9fcc 100644 (file)
  */
 
 #include "postgres.h"
+
+#include "funcapi.h"
+#include "lib/stringinfo.h"
+#include "miscadmin.h"
 #include "storage/fsm_internals.h"
 #include "utils/builtins.h"
-#include "miscadmin.h"
-#include "funcapi.h"
 
 Datum          fsm_page_contents(PG_FUNCTION_ARGS);
 
index 65a470114ba21691f696f3d82495516b4b60f238..963a88fa104100cdabcad67f78a4b23be0ff42c0 100644 (file)
@@ -35,8 +35,9 @@
 #include <math.h>
 
 #include "catalog/pg_type.h"
-#include "funcapi.h"
 #include "executor/spi.h"
+#include "funcapi.h"
+#include "lib/stringinfo.h"
 #include "miscadmin.h"
 #include "utils/builtins.h"