patch 9.1.2074: Compile error with Motif GUI

Commit: 
https://github.com/vim/vim/commit/b694561b4d29293d1cfb974ddc72e1599156c626
Author: Christian Brabandt <[email protected]>
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 <[email protected]>

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,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vecJq-006EXA-Uc%40256bit.org.

Raspunde prin e-mail lui