$NetBSD: patch-ab,v 1.1 1999/04/09 08:33:51 agc Exp $ Make this compile on Solaris. --- ttysrv.c 1999/04/09 08:23:23 1.1 +++ ttysrv.c 1999/04/09 08:24:08 @@ -40,6 +40,9 @@ #include <string.h> #include <netdb.h> #include <pwd.h> +#if (defined(__sun__) && defined(__svr4__)) +#include <fcntl.h> +#endif #include "rtty.h" #ifdef NEED_BITYPES_H