# HG changeset patch # User Bram Moolenaar # Date 1562268605 -7200 # Node ID 00cd8830bab9744ab77b3c1fb2ad4a5bc72f681a # Parent 9514db044a1e9efe88d1990ff6bdb67b30c402ab patch 8.1.1633: cannot generate prototypes with X11 but without GUI commit https://github.com/vim/vim/commit/b7ed839976120912c8a755fd1b0f67026b4b056f Author: Bram Moolenaar Date: Thu Jul 4 21:24:34 2019 +0200 patch 8.1.1633: cannot generate prototypes with X11 but without GUI Problem: Cannot generate prototypes with X11 but without GUI. Solution: Include X11/Intrinsic.h. diff --git a/src/gui.h b/src/gui.h --- a/src/gui.h +++ b/src/gui.h @@ -29,6 +29,12 @@ # 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 */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -778,6 +778,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1633, +/**/ 1632, /**/ 1631,