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>
|
||||
#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>*/
|
||||
|
Reference in New Issue
Block a user