summaryrefslogtreecommitdiff
path: root/sysutils/rtty/patches/patch-ab
blob: 958a5c82916e233c08d83f8daa4f03999ab1481a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$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