# HG changeset patch # User Luke Schierer # Date 1034521506 0 # Node ID 1a6d3f3bc682edf78028952bdf55feabb52ccb7e # Parent de747789934f334828e5fee8939eca22e0d9de11 [gaim-migrate @ 3793] rob broke gaim on freebsd. BNeuman told me how to fix it. stupid includes that are order-sensitive committer: Tailor Script diff -r de747789934f -r 1a6d3f3bc682 src/protocols/jabber/jabber.c --- 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 #endif +#include +/*this must happen before sys/socket.h or freebsd won't compile*/ + #ifndef _WIN32 #include #include diff -r de747789934f -r 1a6d3f3bc682 src/protocols/jabber/jabber.h --- a/src/protocols/jabber/jabber.h Sun Oct 13 08:58:51 2002 +0000 +++ b/src/protocols/jabber/jabber.h Sun Oct 13 15:05:06 2002 +0000 @@ -16,6 +16,10 @@ * Jabber * Copyright (C) 1998-1999 The Jabber Team http://jabber.org/ */ + +#include +/*this must happen before sys/socket.h or freebsd won't compile*/ + #ifndef _WIN32 #include #include @@ -31,7 +35,6 @@ #include #include -#include #include #include #include diff -r de747789934f -r 1a6d3f3bc682 src/protocols/jabber/lib.h --- a/src/protocols/jabber/lib.h Sun Oct 13 08:58:51 2002 +0000 +++ b/src/protocols/jabber/lib.h Sun Oct 13 15:05:06 2002 +0000 @@ -2,6 +2,9 @@ #include #endif /* HAVE_CONFIG_H */ +#include +/*this must happen before sys/socket.h or freebsd won't compile*/ + #ifndef _WIN32 #include #include @@ -19,7 +22,6 @@ #include #include -#include #include #include #include diff -r de747789934f -r 1a6d3f3bc682 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Sun Oct 13 08:58:51 2002 +0000 +++ b/src/protocols/oscar/oscar.c Sun Oct 13 15:05:06 2002 +0000 @@ -25,6 +25,9 @@ #include #endif +#include +/*this must happen before sys/socket.h or freebsd won't compile*/ + #ifndef _WIN32 #include #include diff -r de747789934f -r 1a6d3f3bc682 src/proxy.h --- a/src/proxy.h Sun Oct 13 08:58:51 2002 +0000 +++ b/src/proxy.h Sun Oct 13 15:05:06 2002 +0000 @@ -26,6 +26,9 @@ #ifndef _PROXY_H_ #define _PROXY_H_ +#include +/*this must happen before sys/socket.h or freebsd won't compile*/ + #ifndef _WIN32 #include #include @@ -34,7 +37,6 @@ #include #endif -#include #include #define PROXY_NONE 0