Commit: patch 9.1.2074: Compile error with Motif GUI

2 views
Skip to first unread message

Christian Brabandt

unread,
Jan 10, 2026, 12:01:14 PM (yesterday) Jan 10
to vim...@googlegroups.com
patch 9.1.2074: Compile error with Motif GUI

Commit: https://github.com/vim/vim/commit/b694561b4d29293d1cfb974ddc72e1599156c626
Author: Christian Brabandt <c...@256bit.org>
Date: Sat Jan 10 16:43:43 2026 +0000

patch 9.1.2074: Compile error with Motif GUI

Problem: Compile error with Motif GUI
(Tony Mechelynck, after v9.1.2072)
Solution: Add ifdef FEAT_GUI_GTK

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/gui.c b/src/gui.c
index aeb46c5af..8673ec8d8 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -152,7 +152,7 @@ gui_start(char_u *arg UNUSED)
choose_clipmethod();
#endif

-#ifdef FEAT_SOCKETSERVER
+#if defined(FEAT_SOCKETSERVER) && defined(FEAT_GUI_GTK)
// Install socket server listening socket if we are running it
if (socket_server_valid())
gui_gtk_init_socket_server();
diff --git a/src/version.c b/src/version.c
index 63b3aa15c..19cfa4717 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2074,
/**/
2073,
/**/
Reply all
Reply to author
Forward
0 new messages