diff 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
line wrap: on
line diff
--- a/src/gui_xmdlg.c
+++ b/src/gui_xmdlg.c
@@ -16,6 +16,8 @@
  * when using a dynamic scrollbar policy.
  */
 
+#include "vim.h"
+
 #include <Xm/Form.h>
 #include <Xm/PushBG.h>
 #include <Xm/Text.h>
@@ -36,8 +38,6 @@
 #include <X11/StringDefs.h>
 #include <X11/Intrinsic.h>
 
-#include "vim.h"
-
 extern Widget vimShell;
 
 #ifdef FEAT_MENU