diff libpurple/protocols/bonjour/jabber.c @ 21438:4fe9acb6b514

Some platforms require additional includes before net/if.h, and this is taken care of in internal.h. This fixes bonjour compile on FreeBSD.
author Ethan Blanton <elb@pidgin.im>
date Tue, 27 Nov 2007 15:56:20 +0000
parents db7fa42845f6
children 919338d399ae
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/jabber.c	Mon Nov 12 03:37:14 2007 +0000
+++ b/libpurple/protocols/bonjour/jabber.c	Tue Nov 27 15:56:20 2007 +0000
@@ -19,6 +19,9 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
+
+#include "internal.h"
+
 #ifndef _WIN32
 #include <net/if.h>
 #include <sys/ioctl.h>
@@ -33,7 +36,6 @@
 #include <unistd.h>
 #include <fcntl.h>
 
-#include "internal.h"
 #include "network.h"
 #include "eventloop.h"
 #include "connection.h"