$NetBSD: patch-aa,v 1.3 2007/02/25 00:57:54 yyamano Exp $ --- sample.c.orig 2005-03-05 04:54:59.000000000 +0900 +++ sample.c @@ -20,7 +20,14 @@ clients must be made or how a client sho #include #include +#if defined(__NetBSD__) || defined(__APPLE__) +#include +#include /* openpty() on NetBSD and Darwin */ +#elif defined(__DragonFly__) +#include +#else #include +#endif #include #include #include