Bug in INN CURRENT 20020223
Russ Allbery
rra at stanford.edu
Sun Feb 24 20:32:19 UTC 2002
Jeffrey M Vinocur <jeff at litech.org> writes:
> I realized that I can compile on my OS X machine and see how things are
> going in the BSD world. Everything now is fine except that the SMB
> authprog won't compile:
> cd authprogs && make all
> (cd smbval ; make)
> cc -traditional-cpp -g -O2 -I../include -I../../include -c session.c
> session.c:26: malloc.h: No such file or directory
> it looks like BSD wants sys/malloc.h. I don't know what to do about
> this.
Basically, s/malloc/stdlib/. Nothing should be including malloc.h; malloc
has been prototyped in stdlib.h on all the platforms we care about for
half of forever. You only need malloc.h if you're tweaking the memory
allocator or accessing non-standard interfaces.
Hopefully now fixed in CURRENT.
(I seem to recall that -traditional-cpp is now the wrong way of solving
problems on MacOS X with precompiled headers, but I don't remember what
the right approach is these days.)
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-workers
mailing list