summaryrefslogtreecommitdiffstats
path: root/main/pllua/pllua-01-0.3.1-include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/pllua/pllua-01-0.3.1-include.patch')
-rw-r--r--main/pllua/pllua-01-0.3.1-include.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/pllua/pllua-01-0.3.1-include.patch b/main/pllua/pllua-01-0.3.1-include.patch
new file mode 100644
index 000000000..afbf8a984
--- /dev/null
+++ b/main/pllua/pllua-01-0.3.1-include.patch
@@ -0,0 +1,14 @@
+#most of fix from here http://postgis.refractions.net/pipermail/postgis-devel/2009-February/004879.html
+--- pllua-0.3.1/plluaapi.c.orig Thu Sep 17 15:34:07 2009
++++ pllua-0.3.1/plluaapi.c Thu Sep 17 15:34:18 2009
+@@ -7,6 +7,10 @@
+
+ #include "pllua.h"
+ #include "rowstamp.h"
++#include "utils/guc.h"
++extern Datum textout (PG_FUNCTION_ARGS);
++extern Datum bpcharout(PG_FUNCTION_ARGS);
++extern Datum varcharout(PG_FUNCTION_ARGS);
+
+ /* extended function info */
+ typedef struct luaP_Info {