comparison libpurple/protocols/qq/packet_parse.h @ 23689:c07b2a2b1b62

Fix win32 build
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 04 Aug 2008 15:52:22 +0000
parents 1c50f12b1c52
children 5f454b975a99
comparison
equal deleted inserted replaced
23688:f56505a982e8 23689:c07b2a2b1b62
35 * 35 *
36 * TCP allows packet 64K 36 * TCP allows packet 64K
37 */ 37 */
38 #define MAX_PACKET_SIZE 65535 38 #define MAX_PACKET_SIZE 65535
39 39
40 #ifndef _WIN32
40 #include <netinet/in.h> 41 #include <netinet/in.h>
42 #else
43 #include "win32dep.h"
44 #endif
41 45
42 gint qq_get8(guint8 *b, guint8 *buf); 46 gint qq_get8(guint8 *b, guint8 *buf);
43 gint qq_get16(guint16 *w, guint8 *buf); 47 gint qq_get16(guint16 *w, guint8 *buf);
44 gint qq_get32(guint32 *dw, guint8 *buf); 48 gint qq_get32(guint32 *dw, guint8 *buf);
45 gint qq_getIP(struct in_addr *ip, guint8 *buf); 49 gint qq_getIP(struct in_addr *ip, guint8 *buf);