I don't have a BSD install that I can check, but there's something probably not right with the files being included. The relevant lines in EQPacket.cpp are:
Code:
#include <iostream.h>
#ifndef WIN32
#include <netinet/in.h>
#else
with line 9 actually being the #else statement (so maybe it's giving the line right after the include?).
Check the in.h file to see if there's anything obvious that the compiler might not like.
Have you also tried using the gcc compiler instead (I don't think that would make a difference, but you never know).