$NetBSD: patch-bicon_pty__spawn.c,v 1.2 2015/03/06 18:36:43 mbowie Exp $ Terminal includes per http://daemonforums.org/attachment.php?attachmentid=537&d=1425436939 Patch authored by bcallah@openbsd.org --- bicon/pty_spawn.c.orig 2015-03-05 07:25:26.000000000 -0800 +++ bicon/pty_spawn.c 2015-03-05 07:26:35.000000000 -0800 @@ -13,7 +13,14 @@ #include #include #include +#ifdef __linux__ #include +#endif +#ifdef __NetBSD__ || __OpenBSD__ +#include +#include +#include +#endif #include #include #include