summaryrefslogtreecommitdiff
path: root/comms/tits
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2002-09-24 11:24:29 +0000
committerAlexander Langer <alex@FreeBSD.org>2002-09-24 11:24:29 +0000
commitd8446c554ad996a98a25dbeefd84b8e44ca4056b (patch)
tree6905cd642b59a78417bde02f6b295d1557b5a716 /comms/tits
parentDon't declare malloc(), as it is already in stdio.h (diff)
Fix build by properly defining an argument that is used for poll(2).
Noticed by: bento
Notes
Notes: svn path=/head/; revision=67091
Diffstat (limited to 'comms/tits')
-rw-r--r--comms/tits/files/patch-dispatcher.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/tits/files/patch-dispatcher.c b/comms/tits/files/patch-dispatcher.c
new file mode 100644
index 000000000000..faccdbccfbc0
--- /dev/null
+++ b/comms/tits/files/patch-dispatcher.c
@@ -0,0 +1,11 @@
+--- dispatcher.c.orig Tue Sep 24 13:21:42 2002
++++ dispatcher.c Tue Sep 24 13:23:15 2002
+@@ -131,7 +131,7 @@
+ struct context *ctx;
+ struct client_ctx *cc;
+ struct pollfd *pf;
+- nfds_t pfds;
++ unsigned int pfds;
+ int nfds, errcnt = 0;
+
+ while (!TAILQ_EMPTY(&contexts)) {