summaryrefslogtreecommitdiff
path: root/sysutils/rtty/patches/patch-ab
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-04-09 08:33:50 +0000
committeragc <agc@pkgsrc.org>1999-04-09 08:33:50 +0000
commit13d4323e6a8868cd893e1c5af190b41f9b342095 (patch)
treef9bd4045d17406271defa116a31e0d86edec8e2f /sysutils/rtty/patches/patch-ab
parent3633bdba802d167e4e9e221490f3b33f10816ac7 (diff)
downloadpkgsrc-13d4323e6a8868cd893e1c5af190b41f9b342095.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'sysutils/rtty/patches/patch-ab')
-rw-r--r--sysutils/rtty/patches/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/rtty/patches/patch-ab b/sysutils/rtty/patches/patch-ab
new file mode 100644
index 00000000000..958a5c82916
--- /dev/null
+++ b/sysutils/rtty/patches/patch-ab
@@ -0,0 +1,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