--- a/src/protocols/jabber/jabber.c Sun Oct 13 08:58:51 2002 +0000 +++ b/src/protocols/jabber/jabber.c Sun Oct 13 15:05:06 2002 +0000 @@ -24,6 +24,9 @@ #include <config.h> #endif +#include <sys/types.h> +/*this must happen before sys/socket.h or freebsd won't compile*/ + #ifndef _WIN32 #include <netdb.h> #include <netinet/in.h>