changeset 16449:fd57da82dd5d v8.1.1229

patch 8.1.1229: warning for posix_openpt() not declared commit https://github.com/vim/vim/commit/ab4cece6053b0bfd604e15065227b94af873608b Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 28 18:40:03 2019 +0200 patch 8.1.1229: warning for posix_openpt() not declared Problem: Warning for posix_openpt() not declared. (Tony Mechelynck) Solution: Add declaration.
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Apr 2019 18:45:04 +0200
parents 34305962f0db
children bf74bce807e8
files src/pty.c src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/pty.c
+++ b/src/pty.c
@@ -141,6 +141,7 @@
 char *ptsname(int);
 int unlockpt(int);
 int grantpt(int);
+int posix_openpt(int flags);
 #endif
 
     static void
--- a/src/version.c
+++ b/src/version.c
@@ -768,6 +768,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1229,
+/**/
     1228,
 /**/
     1227,