From f7506cade470efd122fa8fb61dd4e5ad21d1e246 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 25 Feb 2017 16:01:49 +0100 Subject: 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) --- src/gui_motif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui_motif.c') diff --git a/src/gui_motif.c b/src/gui_motif.c index 5a9dd92482..4e4dffad93 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 #include #include @@ -33,8 +35,6 @@ #include #include -#include "vim.h" - #ifdef HAVE_X11_XPM_H # include #else -- cgit v1.2.3