1
0
forked from aniani/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.
This commit is contained in:
Bram Moolenaar
2019-07-04 21:24:34 +02:00
parent 48ac671fe5
commit b7ed839976
2 changed files with 8 additions and 0 deletions

View File

@@ -29,6 +29,12 @@
# include <gtk/gtk.h>
#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 <X11/Intrinsic.h>
#endif
#ifdef FEAT_GUI_MAC
# include <Types.h>
/*# include <Memory.h>*/

View File

@@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1633,
/**/
1632,
/**/