From c53775185dc4b17cd951f5fff74c020a2469da27 Mon Sep 17 00:00:00 2001
From: =?utf8?q?=C3=81lvaro=20Herrera?= <alvherre@kurilemu.de>
Date: Tue, 7 Oct 2025 10:45:57 +0200
Subject: [PATCH] Fix compile of src/tutorial/funcs.c
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

I broke this with recent #include removals.  Fix by adding an explicit

Reported-by: Devrim GÃ¼ndÃ¼z <devrim@gunduz.org>
Discussion: https://postgr.es/m/5e2c2d7c44434f3f0af7523864b27fe4fb590902.camel@gunduz.org
---
 src/tutorial/funcs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/tutorial/funcs.c b/src/tutorial/funcs.c
index 4a61177567..3cc9453418 100644
--- a/src/tutorial/funcs.c
+++ b/src/tutorial/funcs.c
@@ -13,6 +13,7 @@
 #include "executor/executor.h"	/* for GetAttributeByName() */
 #include "utils/fmgrprotos.h"	/* for text_starts_with() */
 #include "utils/geo_decls.h"	/* for point type */
+#include "varatt.h"				/* for VARDATA/VARSIZE macros */
 
 PG_MODULE_MAGIC;
 
-- 
2.39.5

