Mercurial > vim
comparison src/gui_motif.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 | 68d7bc045dbe |
comparison
equal
deleted
inserted
replaced
10955:a555c11b59a9 | 10956:90af0c60d78d |
---|---|
5 * | 5 * |
6 * Do ":help uganda" in Vim to read copying and usage conditions. | 6 * Do ":help uganda" in Vim to read copying and usage conditions. |
7 * Do ":help credits" in Vim to see a list of people who contributed. | 7 * Do ":help credits" in Vim to see a list of people who contributed. |
8 * See README.txt for an overview of the Vim source code. | 8 * See README.txt for an overview of the Vim source code. |
9 */ | 9 */ |
10 | |
11 #include "vim.h" | |
10 | 12 |
11 #include <Xm/Form.h> | 13 #include <Xm/Form.h> |
12 #include <Xm/RowColumn.h> | 14 #include <Xm/RowColumn.h> |
13 #include <Xm/PushB.h> | 15 #include <Xm/PushB.h> |
14 #include <Xm/Text.h> | 16 #include <Xm/Text.h> |
30 | 32 |
31 #include <X11/keysym.h> | 33 #include <X11/keysym.h> |
32 #include <X11/Xatom.h> | 34 #include <X11/Xatom.h> |
33 #include <X11/StringDefs.h> | 35 #include <X11/StringDefs.h> |
34 #include <X11/Intrinsic.h> | 36 #include <X11/Intrinsic.h> |
35 | |
36 #include "vim.h" | |
37 | 37 |
38 #ifdef HAVE_X11_XPM_H | 38 #ifdef HAVE_X11_XPM_H |
39 # include <X11/xpm.h> | 39 # include <X11/xpm.h> |
40 #else | 40 #else |
41 # ifdef HAVE_XM_XPMP_H | 41 # ifdef HAVE_XM_XPMP_H |