Skip to content

Commit

Permalink
patch 8.2.5139: TIME_WITH_SYS_TIME is no longer supported by autoconf
Browse files Browse the repository at this point in the history
Problem:    TIME_WITH_SYS_TIME is no longer supported by autoconf.
Solution:   Always include time.h.
  • Loading branch information
brammool committed Jun 20, 2022
1 parent 8088ae9 commit 300d718
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions src/os_unix.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
5139,
/**/
5138,
/**/
Expand Down

0 comments on commit 300d718

Please sign in to comment.