patch 9.1.1705: time.h include is available on all platforms

Problem:  time.h include is available on all platforms
Solution: Remove ifdef guards and simply include it in all source files,
          get rid of double include in spellfile.c (Damien Lejay).

closes: #18075

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Damien Lejay
2025-08-27 21:31:35 +02:00
committed by Christian Brabandt
parent b87f133b07
commit e7063871e5
4 changed files with 5 additions and 13 deletions

View File

@ -60,9 +60,7 @@
#if defined(FEAT_SPELL) || defined(PROTO)
#ifndef UNIX // it's in os_unix.h for Unix
# include <time.h> // for time_t
#endif
#include <time.h>
#define REGION_ALL 0xff // word valid in all regions