--- a/src/protocols/gg/libgg.c Fri Oct 11 02:10:08 2002 +0000 +++ b/src/protocols/gg/libgg.c Fri Oct 11 03:14:01 2002 +0000 @@ -1,4 +1,4 @@ -/* $Id: libgg.c 2859 2001-12-05 09:48:56Z warmenhoven $ */ +/* $Id: libgg.c 3753 2002-10-11 03:14:01Z robflynn $ */ /* * (C) Copyright 2001 Wojtek Kaniewski <wojtekka@irc.pl>, @@ -18,23 +18,29 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> -#include <stdio.h> +#ifndef _WIN32 #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <sys/ioctl.h> #include <sys/wait.h> +#include <netdb.h> +#include <pwd.h> +#else +#include <winsock.h> +#include <fcntl.h> +#endif + +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> +#include <stdio.h> #include <sys/time.h> -#include <netdb.h> #include <errno.h> #ifndef _AIX # include <string.h> #endif #include <stdarg.h> -#include <pwd.h> #include <time.h> #ifdef sun #include <sys/filio.h> @@ -45,19 +51,24 @@ #endif #include "libgg.h" #include "config.h" +#include "gaim.h" +#include "proxy.h" -int gg_debug_level = 0; +int gg_debug_level = (GG_DEBUG_NET | GG_DEBUG_TRAFFIC | GG_DEBUG_DUMP | GG_DEBUG_FUNCTION | GG_DEBUG_MISC);