actually, this is caused by the bsdi <netinet/in.h> file not being idempotent, and ircd including it twice. if you remove the double inclusion, or, fix the header to allow this, things should work. bsdi have fixed this since then.