To: vim_dev@googlegroups.com Subject: Patch 8.1.1633 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.1633 Problem: Cannot generate prototypes with X11 but without GUI. Solution: Include X11/Intrinsic.h. Files: src/gui.h *** ../vim-8.1.1632/src/gui.h 2019-04-28 19:46:17.026060122 +0200 --- src/gui.h 2019-07-04 21:21:16.740151567 +0200 *************** *** 29,34 **** --- 29,40 ---- # include #endif + // Needed when generating prototypes, since FEAT_GUI is always defined then. + #if defined(FEAT_XCLIPBOARD) && !defined(FEAT_GUI_MOTIF) \ + && !defined(FEAT_GUI_ATHENA) && !defined(FEAT_GUI_GTK) + # include + #endif + #ifdef FEAT_GUI_MAC # include /*# include */ *** ../vim-8.1.1632/src/version.c 2019-07-04 20:26:17.798397726 +0200 --- src/version.c 2019-07-04 21:22:27.307676117 +0200 *************** *** 779,780 **** --- 779,782 ---- { /* Add new patch number below this line */ + /**/ + 1633, /**/ -- PRINCE: He's come to rescue me, father. LAUNCELOT: (embarrassed) Well, let's not jump to conclusions ... "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///