diff --git a/src/main.c b/src/main.c index 6ac8ec908..c2f73d382 100644 --- a/src/main.c +++ b/src/main.c @@ -78,6 +78,8 @@ # include #endif +#include "mod/server.mod/server.h" /* RECVLINEMAX */ + #ifndef _POSIX_SOURCE # define _POSIX_SOURCE 1 /* Solaris needs this */ #endif @@ -787,7 +789,7 @@ static void mainloop(int toplevel) { static int cleanup = 5; int xx, i, eggbusy = 1; - char buf[8702]; + char buf[RECVLINEMAX]; /* Lets move some of this here, reducing the number of actual * calls to periodic_timers