diff src/protocols/jabber/jabber.h @ 3664:1a6d3f3bc682

[gaim-migrate @ 3793] rob broke gaim on freebsd. BNeuman told me how to fix it. stupid includes that are order-sensitive committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 13 Oct 2002 15:05:06 +0000
parents 9682c0e022c6
children 988485669631
line wrap: on
line diff
--- 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 <sys/types.h>
+/*this must happen before sys/socket.h or freebsd won't compile*/
+
 #ifndef _WIN32
 #include <syslog.h>
 #include <sys/socket.h>
@@ -31,7 +35,6 @@
 
 #include <string.h>
 #include <stdlib.h>
-#include <sys/types.h>
 #include <stdio.h>
 #include <setjmp.h>
 #include <sys/stat.h>