From 4afd2efbdef938760ec4455627d7bc908ce4e659 Mon Sep 17 00:00:00 2001 From: ayin Date: Tue, 17 Jan 2006 10:25:08 +0000 Subject: [PATCH] Define NO_SETOWNER_TTYDEV when using posix_openpt. --- src/ptytty.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ptytty.h b/src/ptytty.h index 90dd6492..ffe9fa99 100644 --- a/src/ptytty.h +++ b/src/ptytty.h @@ -4,7 +4,7 @@ #include "feature.h" #if defined(HAVE_GRANTPT) && defined(HAVE_UNLOCKPT) -# if defined(PTYS_ARE_GETPT) || defined(PTYS_ARE_PTMX) +# if defined(PTYS_ARE_GETPT) || defined(PTYS_ARE_POSIX) || defined(PTYS_ARE_PTMX) # define NO_SETOWNER_TTYDEV 1 # endif #endif -- 2.34.1