From f3243937736ddde534caf3ef738832afc593219f Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Windows 11)" <rob@synchro.net>
Date: Thu, 15 Feb 2024 21:30:48 -0800
Subject: [PATCH] Don't #include sbbs.h since that includes text.h, which is
 generated by this

Which means that every time textgen was built, it was immediately out of
date (and requiring a rebuild).
---
 src/sbbs3/textgen.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/sbbs3/textgen.c b/src/sbbs3/textgen.c
index ce59408766..299c9817ea 100644
--- a/src/sbbs3/textgen.c
+++ b/src/sbbs3/textgen.c
@@ -2,9 +2,11 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include "sbbs.h"
+#include "genwrap.h"	// truncsp
 #include "dirwrap.h"	// MAX_PATH
 #include "gen_defs.h"
+#include "str_util.h"
+#include "getctrl.h"
 
 /****************************************************************************/
 /* Reads special TEXT.DAT printf style text lines, splicing multiple lines, */
-- 
GitLab