]> granicus.if.org Git - vim/commitdiff
patch 8.0.0367: types in include files may be inconsistent v8.0.0367
authorBram Moolenaar <Bram@vim.org>
Sat, 25 Feb 2017 15:01:49 +0000 (16:01 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 25 Feb 2017 15:01:49 +0000 (16:01 +0100)
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_at_sb.c
src/gui_athena.c
src/gui_motif.c
src/gui_x11.c
src/gui_xmdlg.c
src/version.c

index bfdf6b6f599b8f24f428468bfcf877a784558821..659e93463ca751709e4b4892a2e913a3e4b88e85 100644 (file)
@@ -60,11 +60,12 @@ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 /* created by weissman, Mon Jul  7 13:20:03 1986 */
 /* converted by swick, Thu Aug 27 1987 */
 
+#include "vim.h"
+
 #include <X11/IntrinsicP.h>
 #include <X11/StringDefs.h>
 
 #include <X11/Xaw/XawInit.h>
-#include "vim.h"
 #include "gui_at_sb.h"
 
 #include <X11/Xmu/Drawing.h>
index 3d782877ced01db3b54e59d7f50792259166d72b..18e3a8b0cf3a45d472ccef189a557ff5371bae22 100644 (file)
@@ -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
index 5a9dd924826b153d3655c815474dd4425d37341b..4e4dffad936c5a59f53ea27b9764d800c43442b1 100644 (file)
@@ -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
index 05bd02817d34e5ca7e38343197bc9248d871dc56..2cc0eba85cb824f0553e70e7553696c777cb8dcd 100644 (file)
@@ -12,6 +12,8 @@
  * Not used for GTK.
  */
 
+#include "vim.h"
+
 #include <X11/keysym.h>
 #include <X11/Xatom.h>
 #include <X11/StringDefs.h>
@@ -19,8 +21,6 @@
 #include <X11/Shell.h>
 #include <X11/cursorfont.h>
 
-#include "vim.h"
-
 /*
  * For Workshop XpmP.h is preferred, because it makes the signs drawn with a
  * transparent background instead of black.
index f957e31f1e2e44186d6b5bf7216d6ad02e07a57c..01e536c1e0ac9358932e698efda449428e80fcc4 100644 (file)
@@ -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
index 7e6438c576a6a8fc6eaed1a7f888bf67fa404e52..6d15166a7635516cca36cc15b55bbbfc5dfe6893 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    367,
 /**/
     366,
 /**/