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:
@@ -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>*/
|
||||
|
@@ -777,6 +777,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1633,
|
||||
/**/
|
||||
1632,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user