summaryrefslogtreecommitdiff
path: root/src/os_amiga.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-03 22:53:06 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-03 22:53:06 +0200
commit80edda1cf57d7bf8f22c021d724faab33c3c81d6 (patch)
tree1bfd0050c05d0dbe8f7d2160eb241e20f58d9ff7 /src/os_amiga.h
parentba45f1f4fbff1a78ed5786c2608b0f8a76ec53c8 (diff)
downloadvim-git-80edda1cf57d7bf8f22c021d724faab33c3c81d6.tar.gz
patch 8.1.1621: Amiga: time.h included twicev8.1.1621
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)
Diffstat (limited to 'src/os_amiga.h')
-rw-r--r--src/os_amiga.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os_amiga.h b/src/os_amiga.h
index 718241dd7..6f951fb96 100644
--- a/src/os_amiga.h
+++ b/src/os_amiga.h
@@ -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