diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-02-25 16:01:49 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-02-25 16:01:49 +0100 |
commit | f7506cade470efd122fa8fb61dd4e5ad21d1e246 (patch) | |
tree | cb7c1c20d177a655b3744977b1b9497957fff6c2 /src/gui_x11.c | |
parent | 92769c3928bb8a3faa43c533c07ef8476af32ade (diff) | |
download | vim-git-f7506cade470efd122fa8fb61dd4e5ad21d1e246.tar.gz |
patch 8.0.0367: types in include files may be inconsistentv8.0.0367
Problem: If configure defines _LARGE_FILES some include files are included
before it is defined.
Solution: Include vim.h first. (Sam Thursfield, closes #1508)
Diffstat (limited to 'src/gui_x11.c')
-rw-r--r-- | src/gui_x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_x11.c b/src/gui_x11.c index 05bd02817..2cc0eba85 100644 --- a/src/gui_x11.c +++ b/src/gui_x11.c @@ -12,6 +12,8 @@ * Not used for GTK. */ +#include "vim.h" + #include <X11/keysym.h> #include <X11/Xatom.h> #include <X11/StringDefs.h> @@ -19,8 +21,6 @@ #include <X11/Shell.h> #include <X11/cursorfont.h> -#include "vim.h" - /* * For Workshop XpmP.h is preferred, because it makes the signs drawn with a * transparent background instead of black. |