From: Bram Moolenaar Date: Thu, 4 Jul 2019 19:24:34 +0000 (+0200) Subject: patch 8.1.1633: cannot generate prototypes with X11 but without GUI X-Git-Tag: v8.1.1633 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b7ed839976120912c8a755fd1b0f67026b4b056f;p=vim 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 index a16f0986e..dd1bbdc68 100644 --- 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 index 59c3c5122..20bff057c 100644 --- a/src/version.c +++ b/src/version.c @@ -777,6 +777,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1633, /**/ 1632, /**/