Fix:

error: implicit declaration of function 'test1' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
error: implicit declaration of function 'Cocoa_Gui_new' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
error: implicit declaration of function 'Dlg_Test1_new' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
--- gui/cocoa/libtest.m.orig	2019-08-26 14:23:58.000000000 -0500
+++ gui/cocoa/libtest.m	2026-04-22 14:55:00.000000000 -0500
@@ -7,7 +7,8 @@
  ***************************************************************************/
 
 
-//#include "../testdialogs/dlg_test.h"
+#include "cocoa_gui.h"
+#include "../testdialogs/dlg_test.h"
 
 #include <gwenhywfar/gwenhywfar.h>
 #include <gwenhywfar/gui.h>
@@ -20,6 +21,8 @@
 #import <Foundation/Foundation.h>
 #import <AppKit/AppKit.h>
 
+int test1();
+
 @interface AppDelegate : NSObject {
 	
 }
