0
0
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:
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>*/