1This fixes 2../screen-4.6.2/pty.c: In function 'OpenPTY': 3../screen-4.6.2/pty.c:328:7: warning: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration] 4 if (openpty(&f, &s, TtyName, NULL, NULL) != 0) 5 ^~~~~~~ 6 7Signed-off-by: Amadeusz Sławiński <amade@asmblr.net> 8Signed-off-by: Adrian Bunk <bunk@stusta.de> 9Upstream-Status: Backport 10 11--- 12 pty.c | 6 +----- 13 1 file changed, 1 insertion(+), 5 deletions(-) 14 15diff --git a/pty.c b/pty.c 16index 1c0660e..502338f 100644 17--- a/pty.c 18+++ b/pty.c 19@@ -47,11 +47,7 @@ 20 # include <sys/ttold.h> 21 #endif 22 23-#ifdef ISC 24-# include <sys/tty.h> 25-# include <sys/sioctl.h> 26-# include <sys/pty.h> 27-#endif 28+#include <pty.h> 29 30 #ifdef sgi 31 # include <sys/sysmacros.h> 32