[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-anubis] Bug report: Anubis 4.1.1 --- missing include
From: |
anubis_20111021 |
Subject: |
[bug-anubis] Bug report: Anubis 4.1.1 --- missing include |
Date: |
Fri, 21 Oct 2011 22:36:49 +0200 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
Installing Anubis 4.1.1
under MacOS 10.5.8
using MacPorts ("ports install anubis")
gives the following error when compiling mta.c
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -pipe -O2
-arch i386 -MT mta.o -MD -MP -MF .deps/mta.Tpo -c -o mta.o mta.c
__________________________________________
mta.c: In function ‘skipws’:
mta.c:516: error: ‘u_char’ undeclared (first use in this function)
mta.c:516: error: (Each undeclared identifier is reported only once
mta.c:516: error: for each function it appears in.)
mta.c:516: error: syntax error before ‘)’ token
mta.c: In function ‘skipword’:
mta.c:524: error: ‘u_char’ undeclared (first use in this function)
mta.c:524: error: syntax error before ‘)’ token
mta.c: In function ‘mta_daemon’:
mta.c:850: warning: pointer targets in passing argument 3 of ‘accept’ differ in
signedness
minidog:testsuite jas$ more * | grep "u_char"
while (*str && isspace (*(u_char *) str))
while (*str && !isspace (*(u_char *) str))
__________________________________________
Adding
#include <sys/types.h>
fixes it.
Regards, Jan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-anubis] Bug report: Anubis 4.1.1 --- missing include,
anubis_20111021 <=