$NetBSD: patch-ac,v 1.9 2007/05/30 12:46:58 tonio Exp $ --- pty.c.orig 2007-04-13 16:30:01.000000000 +0200 +++ pty.c @@ -15,7 +15,7 @@ extern void uerror (char * cmdname, valu #define HAS_OPENPTY 1 #endif -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(__NetBSD__) #include #define HAS_OPENPTY 1 #endif