]> granicus.if.org Git - vim/commitdiff
patch 8.2.1640: Amiga: missing header for getgrgid() v8.2.1640
authorBram Moolenaar <Bram@vim.org>
Wed, 9 Sep 2020 11:01:27 +0000 (13:01 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 9 Sep 2020 11:01:27 +0000 (13:01 +0200)
Problem:    Amiga: missing header for getgrgid().
Solution:   Add the grp.h header. (Ola Söder, closes #6906)

src/os_amiga.h
src/version.c

index 611555e3ed51dc92e6f060a79ac907700baf430d..98f3cffdec1f701ab3b677860c013f6898aafb21 100644 (file)
@@ -91,6 +91,7 @@ typedef long off_t;
 # include <limits.h>
 # include <errno.h>
 # include <pwd.h>
+# include <grp.h>
 # include <dirent.h>
 #endif
 
index 26a66f077be1424978491e911d2bdd341e118b3e..4f7de313a306f98a4f133d8e3b8d023cde77be62 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1640,
 /**/
     1639,
 /**/