commit 0716e45b0f807121e39e0bc58ca88797427ccae6
parent d7f90368f3780a96bb213c7d0b2a1a1f33129922
Author: nion@noname <unknown>
Date: Sun, 12 Feb 2006 12:58:03 +0100
fixes for freebsd
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
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 };