summaryrefslogtreecommitdiff
path: root/net/tn5250/patches/patch-ac
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-07-17 13:10:30 +0000
committeragc <agc@pkgsrc.org>2002-07-17 13:10:30 +0000
commitaf1cd66a9a11db868cad8a071b179d4f11afc8c6 (patch)
treec7a4f7054890e2c56158fb5ba1ee34b87a99df38 /net/tn5250/patches/patch-ac
parenta94f67ce57c7713de99ac06e5a5785605d71a4c6 (diff)
downloadpkgsrc-af1cd66a9a11db868cad8a071b179d4f11afc8c6.tar.gz
Add a patch to ensure that select(2) is prototyped.
Diffstat (limited to 'net/tn5250/patches/patch-ac')
-rw-r--r--net/tn5250/patches/patch-ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/tn5250/patches/patch-ac b/net/tn5250/patches/patch-ac
new file mode 100644
index 00000000000..fdabfcfbe03
--- /dev/null
+++ b/net/tn5250/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2002/07/17 13:10:31 agc Exp $
+
+Prototype select(2).
+
+--- printsession.cc 2002/07/17 13:07:37 1.1
++++ printsession.cc 2002/07/17 13:07:54
+@@ -4,6 +4,7 @@
+ #include "record.h"
+ #include "stream5250.h"
+ #include <sys/time.h>
++#include <unistd.h>
+ #include "printsession.h"
+ #include "utility.h"
+