$NetBSD$

--- 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 <sys/ioctl.h>
 #endif
-#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
+#ifdef HAVE_SYS_STROPTS_H
 # include <sys/stropts.h>      /* for I_PUSH */
 #endif
 
