forked from aniani/vim
patch 8.1.1621: Amiga: time.h included twice
Problem: Amiga: time.h included twice. Solution: Remove include from evalfunc.c, move outside of #ifdef in os_amiga.h. (Ola Söder, closes #4607)
This commit is contained in:
parent
ba45f1f4fb
commit
80edda1cf5
@ -16,10 +16,6 @@
|
||||
|
||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||
|
||||
#ifdef AMIGA
|
||||
# include <time.h> /* for strftime() */
|
||||
#endif
|
||||
|
||||
#ifdef VMS
|
||||
# include <float.h>
|
||||
#endif
|
||||
|
@ -90,10 +90,11 @@ typedef long off_t;
|
||||
# include <unistd.h>
|
||||
# include <limits.h>
|
||||
# include <errno.h>
|
||||
# include <time.h>
|
||||
# include <dirent.h>
|
||||
#endif
|
||||
|
||||
#include <time.h> // for strftime() and others
|
||||
|
||||
#ifndef PROTO
|
||||
/*
|
||||
* arpbase.h must be included before functions.h
|
||||
|
@ -777,6 +777,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1621,
|
||||
/**/
|
||||
1620,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user