Mercurial > vim
comparison src/os_amiga.h @ 17243:24f42f0bf27e v8.1.1621
patch 8.1.1621: Amiga: time.h included twice
commit https://github.com/vim/vim/commit/80edda1cf57d7bf8f22c021d724faab33c3c81d6
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 3 22:53:06 2019 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 03 Jul 2019 23:00:10 +0200 |
parents | e7a4d1ac0d0d |
children | a3ddd35ee6d4 |
comparison
equal
deleted
inserted
replaced
17242:356d7a1082f5 | 17243:24f42f0bf27e |
---|---|
88 #ifdef __GNUC__ | 88 #ifdef __GNUC__ |
89 # include <sys/stat.h> | 89 # include <sys/stat.h> |
90 # include <unistd.h> | 90 # include <unistd.h> |
91 # include <limits.h> | 91 # include <limits.h> |
92 # include <errno.h> | 92 # include <errno.h> |
93 # include <time.h> | |
94 # include <dirent.h> | 93 # include <dirent.h> |
95 #endif | 94 #endif |
95 | |
96 #include <time.h> // for strftime() and others | |
96 | 97 |
97 #ifndef PROTO | 98 #ifndef PROTO |
98 /* | 99 /* |
99 * arpbase.h must be included before functions.h | 100 * arpbase.h must be included before functions.h |
100 */ | 101 */ |