From 4ea4dcfee2aaa0edab094f1a7c12a9bbe78b06f6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 20 Mar 2002 17:43:29 +0000 Subject: Fix compile problem when ASSUME_DEVPTS=false getpt.c: In function 'getpt': getpt.c:83: 'have_no_dev_ptmx' undeclared ... oops. -Erik --- libc/stdlib/getpt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/stdlib/getpt.c b/libc/stdlib/getpt.c index 9e1f255bb..f4e52f672 100644 --- a/libc/stdlib/getpt.c +++ b/libc/stdlib/getpt.c @@ -80,7 +80,9 @@ getpt (void) /* If /dev/pts is not mounted then the UNIX98 pseudo terminals are not usable. */ close (fd); +#if !defined UNIX98PTY_ONLY have_no_dev_ptmx = 1; +#endif #endif } else -- cgit v1.2.3