From df48cc8404f3fc2976c9d70c9aeefda171432cf9 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Wed, 30 Dec 2020 23:41:30 -0600 Subject: 47785: remove deprecated autoconf functions STDC_HEADERS and TIME_WITH_SYS_TIME are deprecated. --- Src/zsh_system.h | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'Src/zsh_system.h') diff --git a/Src/zsh_system.h b/Src/zsh_system.h index 161b073b4..6f4efce96 100644 --- a/Src/zsh_system.h +++ b/Src/zsh_system.h @@ -235,16 +235,8 @@ char *alloca _((size_t)); # include #endif -#ifdef TIME_WITH_SYS_TIME -# include -# include -#else -# ifdef HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif +#include +#include /* This is needed by some old SCO unices */ #if !defined(HAVE_STRUCT_TIMEZONE) && !defined(ZSH_OOT_MODULE) @@ -279,16 +271,7 @@ struct timespec { # include #endif -#if STDC_HEADERS || HAVE_STRING_H # include -/* An ANSI string.h and pre-ANSI memory.h might conflict. */ -# if !STDC_HEADERS && HAVE_MEMORY_H -# include -# endif /* not STDC_HEADERS and HAVE_MEMORY_H */ -#else /* not STDC_HEADERS and not HAVE_STRING_H */ -# include -/* memory.h and strings.h conflict on some systems. */ -#endif /* not STDC_HEADERS and not HAVE_STRING_H */ #ifdef HAVE_LOCALE_H # include -- cgit 1.4.1