[Dovecot] dovecot 1.0-test52 compile notes
Compile issues on an older BSD/OS 4.2 system:
src/lib/byteorder.h needs #include <netinet/in.h> to pick up in_addr struct
src/lib/byteorder.c no "libgen" here (no basename()). Added it inline, no big deal, but you might want to have configure test for this and provide one if it's missing.
Also, on this system there are no types like "uint8_t" and "uint64_t" -- instead there are the u_int8_t and u_int64_t et al types. I added some global typedefs, but I gather this is a somewhat common issue, so you might want to test for these.
-mm-
On 6.11.2004, at 22:45, Mark E. Mallett wrote:
For the arpa/inet.h include? Actually that is a wrong include anyway there, it should be just netinet/in.h to get the htons() etc. defined.
Huh? libgen? basename? That file doesn't use either of them.
In any case byteorder.* files aren't needed anymore, I guess I should just remove them until they're needed again (if ever).
Perhaps.. They are a standard with any C99 compiler though.
participants (2)
-
Mark E. Mallett
-
Timo Sirainen