]> granicus.if.org Git - vim/commitdiff
patch 8.2.5139: TIME_WITH_SYS_TIME is no longer supported by autoconf v8.2.5139
authorBram Moolenaar <Bram@vim.org>
Mon, 20 Jun 2022 11:01:10 +0000 (12:01 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 20 Jun 2022 11:01:10 +0000 (12:01 +0100)
Problem:    TIME_WITH_SYS_TIME is no longer supported by autoconf.
Solution:   Always include time.h.

src/os_unix.h
src/version.c

index c3a7fec19a1a8a337d561128a7644d6d90cd88ca..00ae239ea20d35a9363b26ca92759af963487981 100644 (file)
 # endif
 #endif
 
-// on some systems time.h should not be included together with sys/time.h
-#if !defined(HAVE_SYS_TIME_H) || defined(TIME_WITH_SYS_TIME)
-# include <time.h>
-#endif
+#include <time.h>
 #ifdef HAVE_SYS_TIME_H
 # include <sys/time.h>
 #endif
index 0422787384a165080134df7e3eff9a27421a6c06..370c4d06f3623c4b7c01bffe8b0ac404e7488987 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    5139,
 /**/
     5138,
 /**/