Skip to content

Commit b7ed839

Browse files
committed
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.
1 parent 48ac671 commit b7ed839

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/gui.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
# include <gtk/gtk.h>
3030
#endif
3131

32+
// Needed when generating prototypes, since FEAT_GUI is always defined then.
33+
#if defined(FEAT_XCLIPBOARD) && !defined(FEAT_GUI_MOTIF) \
34+
&& !defined(FEAT_GUI_ATHENA) && !defined(FEAT_GUI_GTK)
35+
# include <X11/Intrinsic.h>
36+
#endif
37+
3238
#ifdef FEAT_GUI_MAC
3339
# include <Types.h>
3440
/*# include <Memory.h>*/

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,8 @@ static char *(features[]) =
777777

778778
static int included_patches[] =
779779
{ /* Add new patch number below this line */
780+
/**/
781+
1633,
780782
/**/
781783
1632,
782784
/**/

0 commit comments

Comments
 (0)