1
0
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:
Bram Moolenaar 2019-07-03 22:53:06 +02:00
parent ba45f1f4fb
commit 80edda1cf5
3 changed files with 4 additions and 5 deletions

View File

@ -16,10 +16,6 @@
#if defined(FEAT_EVAL) || defined(PROTO)
#ifdef AMIGA
# include <time.h> /* for strftime() */
#endif
#ifdef VMS
# include <float.h>
#endif

View File

@ -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

View File

@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1621,
/**/
1620,
/**/