comparison src/os_unix.h @ 29241:1690417aeafe v8.2.5139

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 <Bram@vim.org> 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.
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Jun 2022 13:15:03 +0200
parents 3f5f25f7d8a2
children 3276298c67c5
comparison
equal deleted inserted replaced
29240:181099d99271 29241:1690417aeafe
126 # if HAVE_NDIR_H 126 # if HAVE_NDIR_H
127 # include <ndir.h> 127 # include <ndir.h>
128 # endif 128 # endif
129 #endif 129 #endif
130 130
131 // on some systems time.h should not be included together with sys/time.h 131 #include <time.h>
132 #if !defined(HAVE_SYS_TIME_H) || defined(TIME_WITH_SYS_TIME)
133 # include <time.h>
134 #endif
135 #ifdef HAVE_SYS_TIME_H 132 #ifdef HAVE_SYS_TIME_H
136 # include <sys/time.h> 133 # include <sys/time.h>
137 #endif 134 #endif
138 135
139 #include <signal.h> 136 #include <signal.h>