comparison src/proxy.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 22875a399312
comparison
equal deleted inserted replaced
3663:de747789934f 3664:1a6d3f3bc682
24 with some kind of transparent layer */ 24 with some kind of transparent layer */
25 25
26 #ifndef _PROXY_H_ 26 #ifndef _PROXY_H_
27 #define _PROXY_H_ 27 #define _PROXY_H_
28 28
29 #include <sys/types.h>
30 /*this must happen before sys/socket.h or freebsd won't compile*/
31
29 #ifndef _WIN32 32 #ifndef _WIN32
30 #include <sys/socket.h> 33 #include <sys/socket.h>
31 #include <netdb.h> 34 #include <netdb.h>
32 #include <netinet/in.h> 35 #include <netinet/in.h>
33 #else 36 #else
34 #include <winsock.h> 37 #include <winsock.h>
35 #endif 38 #endif
36 39
37 #include <sys/types.h>
38 #include <glib.h> 40 #include <glib.h>
39 41
40 #define PROXY_NONE 0 42 #define PROXY_NONE 0
41 #define PROXY_HTTP 1 43 #define PROXY_HTTP 1
42 #define PROXY_SOCKS4 2 44 #define PROXY_SOCKS4 2