forked from aniani/vim
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)
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
* See README.txt for an overview of the Vim source code.
|
||||
*/
|
||||
|
||||
#include "vim.h"
|
||||
|
||||
#include <X11/StringDefs.h>
|
||||
#include <X11/Intrinsic.h>
|
||||
#ifdef FEAT_GUI_NEXTAW
|
||||
@@ -34,7 +36,6 @@
|
||||
# include <X11/Xaw/AsciiText.h>
|
||||
#endif /* FEAT_GUI_NEXTAW */
|
||||
|
||||
#include "vim.h"
|
||||
#ifndef FEAT_GUI_NEXTAW
|
||||
# include "gui_at_sb.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user