summaryrefslogtreecommitdiff
path: root/src/os_amiga.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-27 13:38:56 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-27 13:38:56 +0200
commit5e8e967f25085de78d7826fe5a6bebbace1c6823 (patch)
tree20c1041e70966d934981decec3972b0383a703db /src/os_amiga.h
parentce0fac28977af31f1dec411d3535b4de2c3169b3 (diff)
downloadvim-git-5e8e967f25085de78d7826fe5a6bebbace1c6823.tar.gz
patch 8.1.2084: Amiga: cannot get the user namev8.1.2084
Problem: Amiga: cannot get the user name. Solution: Use getpwuid() if available. (Ola Söder, closes #4985)
Diffstat (limited to 'src/os_amiga.h')
-rw-r--r--src/os_amiga.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os_amiga.h b/src/os_amiga.h
index 6f951fb96..71841ac6a 100644
--- a/src/os_amiga.h
+++ b/src/os_amiga.h
@@ -90,6 +90,7 @@ typedef long off_t;
# include <unistd.h>
# include <limits.h>
# include <errno.h>
+# include <pwd.h>
# include <dirent.h>
#endif