mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
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>
|
# include <gtk/gtk.h>
|
||||||
#endif
|
#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
|
#ifdef FEAT_GUI_MAC
|
||||||
# include <Types.h>
|
# include <Types.h>
|
||||||
/*# include <Memory.h>*/
|
/*# include <Memory.h>*/
|
||||||
|
@@ -777,6 +777,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1633,
|
||||||
/**/
|
/**/
|
||||||
1632,
|
1632,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user