diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-03-20 17:43:29 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-03-20 17:43:29 +0000 |
commit | 4ea4dcfee2aaa0edab094f1a7c12a9bbe78b06f6 (patch) | |
tree | 2165ec94cec2747d9937e4fcb50ed568833f0f00 /libc/stdlib | |
parent | c4c67417d5de0b595212764deedd08568d3c7e94 (diff) |
Fix compile problem when ASSUME_DEVPTS=false
getpt.c: In function 'getpt':
getpt.c:83: 'have_no_dev_ptmx' undeclared ...
oops.
-Erik
Diffstat (limited to 'libc/stdlib')
-rw-r--r-- | libc/stdlib/getpt.c | 2 |
1 files changed, 2 insertions, 0 deletions
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,8 +80,10 @@ 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 { |