patch 8.0.1568: can't build on older Mac, header file is missing v8.0.1568
authorBram Moolenaar <Bram@vim.org>
Mon, 5 Mar 2018 09:54:53 +0000 (10:54 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 5 Mar 2018 09:54:53 +0000 (10:54 +0100)
Problem:    Can't build on older Mac, header file is missing.
Solution:   Remove the header file. (Ozaki Kiichi, closes #2691)

src/os_unix.c
src/version.c

index 45fd26176479cb107252541609112fcf9de87793..9819176b57306c5669bf443f95f148ed8dbe46d4 100644 (file)
@@ -566,7 +566,6 @@ mch_check_messages(void)
 # ifdef MACOS_X_DARWIN
 #  include <mach/mach_host.h>
 #  include <mach/mach_port.h>
-#  include <mach/vm_page_size.h>
 # endif
 
 /*
index cbd28eedcdec0675bd49388d351cd245105e3a06..96ac824ee4da85a4ac5c55b68f58eb2b2888d374 100644 (file)
@@ -766,6 +766,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1568,
 /**/
     1567,
 /**/