diff --git a/include/common.h b/include/common.h index b96cb0f8..fe2afd89 100644 --- a/include/common.h +++ b/include/common.h @@ -65,4 +65,7 @@ /* Right out of the RFC */ #define IRCD_BUFSIZE 512 +/* readbuf size */ +#define READBUF_SIZE 16384 + #endif /* INCLUDED_common_h */ diff --git a/src/packet.c b/src/packet.c index ea6a3b8a..705598a4 100644 --- a/src/packet.c +++ b/src/packet.c @@ -34,6 +34,7 @@ #include "match.h" #include "hook.h" #include "send.h" +#include "common.h" static char readBuf[READBUF_SIZE]; static void client_dopacket(struct Client *client_p, char *buffer, size_t length);