summaryrefslogtreecommitdiff
path: root/src/gui_motif.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-25 16:01:49 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-25 16:01:49 +0100
commitf7506cade470efd122fa8fb61dd4e5ad21d1e246 (patch)
treecb7c1c20d177a655b3744977b1b9497957fff6c2 /src/gui_motif.c
parent92769c3928bb8a3faa43c533c07ef8476af32ade (diff)
downloadvim-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_motif.c')
-rw-r--r--src/gui_motif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_motif.c b/src/gui_motif.c
index 5a9dd9248..4e4dffad9 100644
--- a/src/gui_motif.c
+++ b/src/gui_motif.c
@@ -8,6 +8,8 @@
* See README.txt for an overview of the Vim source code.
*/
+#include "vim.h"
+
#include <Xm/Form.h>
#include <Xm/RowColumn.h>
#include <Xm/PushB.h>
@@ -33,8 +35,6 @@
#include <X11/StringDefs.h>
#include <X11/Intrinsic.h>
-#include "vim.h"
-
#ifdef HAVE_X11_XPM_H
# include <X11/xpm.h>
#else