changeset 23689:c07b2a2b1b62

Fix win32 build
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 04 Aug 2008 15:52:22 +0000
parents f56505a982e8
children 0044b8f3727a
files libpurple/protocols/qq/Makefile.mingw libpurple/protocols/qq/packet_parse.h
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/qq/Makefile.mingw	Mon Aug 04 07:04:53 2008 +0000
+++ b/libpurple/protocols/qq/Makefile.mingw	Mon Aug 04 15:52:22 2008 +0000
@@ -42,7 +42,6 @@
 	buddy_info.c \
 	buddy_list.c \
 	buddy_opt.c \
-	buddy_status.c \
 	char_conv.c \
 	crypt.c \
 	file_trans.c \
@@ -59,13 +58,13 @@
 	group_search.c \
 	header_info.c \
 	im.c \
-	qq_process.c \
-	qq_base.c \
 	packet_parse.c \
 	qq.c \
+	qq_base.c \
 	qq_network.c \
+	qq_process.c \
+	qq_trans.c \
 	send_file.c \
-	qq_trans.c \
 	sys_msg.c \
 	utils.c
 
--- a/libpurple/protocols/qq/packet_parse.h	Mon Aug 04 07:04:53 2008 +0000
+++ b/libpurple/protocols/qq/packet_parse.h	Mon Aug 04 15:52:22 2008 +0000
@@ -37,7 +37,11 @@
  */
 #define MAX_PACKET_SIZE 65535
 
+#ifndef _WIN32
 #include <netinet/in.h>
+#else
+#include "win32dep.h"
+#endif
 
 gint qq_get8(guint8 *b, guint8 *buf);
 gint qq_get16(guint16 *w, guint8 *buf);