fixes for freebsd - ii - FIFO and filesystem based IRC client
HTML git clone git://git.codemadness.org/ii
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 0716e45b0f807121e39e0bc58ca88797427ccae6
DIR parent d7f90368f3780a96bb213c7d0b2a1a1f33129922
HTML Author: nion@noname <unknown>
Date: Sun, 12 Feb 2006 12:58:03 +0100
fixes for freebsd
Diffstat:
M ii.c | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
DIR diff --git a/ii.c b/ii.c
@@ -23,6 +23,9 @@
#ifndef nil
#define nil NULL /* for those who don't understand, nil is used in Plan9 */
#endif
+#ifndef PIPE_BUF /* FreeBSD don't know PIPE_BUF */
+#define PIPE_BUF 4096
+#endif
enum { TOK_NICKSRV = 0, TOK_USER, TOK_CMD, TOK_CHAN, TOK_ARG, TOK_TEXT, TOK_LAST };