mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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.
This commit is contained in:
@@ -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 <time.h>
|
||||
#endif
|
||||
#include <time.h>
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user