innfeed/imap_connection.c
Igor Timkin
ivt at gamma.ru
Sun May 14 20:39:08 UTC 2000
ivt at newsfeed:/home/ivt/src/inn/innfeed:1:528>uname -a
FreeBSD newsfeed.gamma.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri May 12 08:45:01 MSD 2000 ivt at newsfeed.gamma.ru:/usr/src/sys/compile/NEWSFEED i386
make:
[...]
gcc -g -O -march=pentiumpro -I../include -c imap_connection.c
imap_connection.c:79: `MAXHOSTNAMELEN' undeclared here (not in a function)
imap_connection.c: In function `newConnection':
imap_connection.c:4026: `MAXHOSTNAMELEN' undeclared (first use in this function)
imap_connection.c:4026: (Each undeclared identifier is reported only once
imap_connection.c:4026: for each function it appears in.)
*** Error code 1
Stop in /home/ivt/src/inn/innfeed.
*** Error code 1
Stop in /home/ivt/src/inn.
--- innfeed/imap_connection.c.OLD Mon May 15 00:11:27 2000
+++ innfeed/imap_connection.c Mon May 15 00:34:20 2000
@@ -42,6 +42,10 @@
#include <errno.h>
+#if defined (__FreeBSD__)
+# include <sys/param.h>
+#endif
+
#include "buffer.h"
#include "connection.h"
#include "endpoint.h"
More information about the inn-patches
mailing list