comparison 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
comparison
equal deleted inserted replaced
21437:db7fa42845f6 21438:4fe9acb6b514
17 * 17 *
18 * You should have received a copy of the GNU General Public License 18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software 19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
21 */ 21 */
22
23 #include "internal.h"
24
22 #ifndef _WIN32 25 #ifndef _WIN32
23 #include <net/if.h> 26 #include <net/if.h>
24 #include <sys/ioctl.h> 27 #include <sys/ioctl.h>
25 #include <sys/socket.h> 28 #include <sys/socket.h>
26 #include <netinet/in.h> 29 #include <netinet/in.h>
31 #include <sys/types.h> 34 #include <sys/types.h>
32 #include <glib.h> 35 #include <glib.h>
33 #include <unistd.h> 36 #include <unistd.h>
34 #include <fcntl.h> 37 #include <fcntl.h>
35 38
36 #include "internal.h"
37 #include "network.h" 39 #include "network.h"
38 #include "eventloop.h" 40 #include "eventloop.h"
39 #include "connection.h" 41 #include "connection.h"
40 #include "blist.h" 42 #include "blist.h"
41 #include "xmlnode.h" 43 #include "xmlnode.h"