# HG changeset patch # User Bram Moolenaar # Date 1655723703 -7200 # Node ID 1690417aeafe90466566af14fcffacf3c19c1ba1 # Parent 181099d992711cb26093d72f33231712adc20419 patch 8.2.5139: TIME_WITH_SYS_TIME is no longer supported by autoconf Commit: https://github.com/vim/vim/commit/300d71881957f8e60e48eda19002ce5e25fd9c06 Author: Bram Moolenaar Date: Mon Jun 20 12:01:10 2022 +0100 patch 8.2.5139: TIME_WITH_SYS_TIME is no longer supported by autoconf Problem: TIME_WITH_SYS_TIME is no longer supported by autoconf. Solution: Always include time.h. diff --git a/src/os_unix.h b/src/os_unix.h --- a/src/os_unix.h +++ b/src/os_unix.h @@ -128,10 +128,7 @@ # 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 -#endif +#include #ifdef HAVE_SYS_TIME_H # include #endif diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 5139, +/**/ 5138, /**/ 5137,