Mercurial > vim
comparison src/gui_xmdlg.c @ 10956:90af0c60d78d v8.0.0367
patch 8.0.0367: types in include files may be inconsistent
commit https://github.com/vim/vim/commit/f7506cade470efd122fa8fb61dd4e5ad21d1e246
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 25 16:01:49 2017 +0100
patch 8.0.0367: types in include files may be inconsistent
Problem: If configure defines _LARGE_FILES some include files are included
before it is defined.
Solution: Include vim.h first. (Sam Thursfield, closes #1508)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 25 Feb 2017 16:15:04 +0100 |
parents | 4aead6a9b7a9 |
children | e1f4e9d78a6a |
comparison
equal
deleted
inserted
replaced
10955:a555c11b59a9 | 10956:90af0c60d78d |
---|---|
13 * Implementation of dialog functions for the Motif GUI variant. | 13 * Implementation of dialog functions for the Motif GUI variant. |
14 * | 14 * |
15 * Note about Lesstif: Apparently lesstif doesn't get the widget layout right, | 15 * Note about Lesstif: Apparently lesstif doesn't get the widget layout right, |
16 * when using a dynamic scrollbar policy. | 16 * when using a dynamic scrollbar policy. |
17 */ | 17 */ |
18 | |
19 #include "vim.h" | |
18 | 20 |
19 #include <Xm/Form.h> | 21 #include <Xm/Form.h> |
20 #include <Xm/PushBG.h> | 22 #include <Xm/PushBG.h> |
21 #include <Xm/Text.h> | 23 #include <Xm/Text.h> |
22 #include <Xm/TextF.h> | 24 #include <Xm/TextF.h> |
33 | 35 |
34 #include <X11/keysym.h> | 36 #include <X11/keysym.h> |
35 #include <X11/Xatom.h> | 37 #include <X11/Xatom.h> |
36 #include <X11/StringDefs.h> | 38 #include <X11/StringDefs.h> |
37 #include <X11/Intrinsic.h> | 39 #include <X11/Intrinsic.h> |
38 | |
39 #include "vim.h" | |
40 | 40 |
41 extern Widget vimShell; | 41 extern Widget vimShell; |
42 | 42 |
43 #ifdef FEAT_MENU | 43 #ifdef FEAT_MENU |
44 # define apply_fontlist(w) gui_motif_menu_fontlist(w) | 44 # define apply_fontlist(w) gui_motif_menu_fontlist(w) |