patch 8.1.2084: Amiga: cannot get the user name

Problem:    Amiga: cannot get the user name.
Solution:   Use getpwuid() if available. (Ola Söder, closes #4985)
This commit is contained in:
Bram Moolenaar
2019-09-27 13:38:56 +02:00
parent ce0fac2897
commit 5e8e967f25
3 changed files with 12 additions and 1 deletions

View File

@ -90,6 +90,7 @@ typedef long off_t;
# include <unistd.h>
# include <limits.h>
# include <errno.h>
# include <pwd.h>
# include <dirent.h>
#endif