summaryrefslogtreecommitdiff
path: root/src/pty.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-28 18:40:03 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-28 18:40:03 +0200
commitab4cece6053b0bfd604e15065227b94af873608b (patch)
tree38728237a4a6bff1c9894acea3233719990e81fc /src/pty.c
parent45e18cbdc40afd8144d20dcc07ad2d981636f4c9 (diff)
downloadvim-git-ab4cece6053b0bfd604e15065227b94af873608b.tar.gz
patch 8.1.1229: warning for posix_openpt() not declaredv8.1.1229
Problem: Warning for posix_openpt() not declared. (Tony Mechelynck) Solution: Add declaration.
Diffstat (limited to 'src/pty.c')
-rw-r--r--src/pty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pty.c b/src/pty.c
index ece360f37..7a9e693b6 100644
--- 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