$NetBSD: patch-ah,v 1.7 2004/09/15 17:55:53 minskim Exp $ --- src/ptytty.c.orig 2002-09-19 02:40:39.000000000 -0500 +++ src/ptytty.c @@ -46,7 +46,7 @@ #ifdef HAVE_SYS_IOCTL_H # include #endif -#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) +#ifdef HAVE_SYS_STROPTS_H # include /* for I_PUSH */ #endif