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)
diff --git a/src/gui_motif.c b/src/gui_motif.c
index 5a9dd92..4e4dffa 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