$NetBSD: patch-ab,v 1.5 2005/03/02 14:38:18 tron Exp $ --- lib/pty.c.orig 2005-01-04 13:32:11.000000000 +0000 +++ lib/pty.c 2005-03-02 14:28:15.000000000 +0000 @@ -61,7 +61,7 @@ #elif HAVE_GRANTPT -#ifndef __FreeBSD__ +#if !(defined(__FreeBSD__) || defined(__NetBSD__)) #include #endif