Mercurial > pidgin.yaz
diff libpurple/protocols/gg/lib/common.c @ 29939:db6735e579f8
Partially fix libgadu build on Win32. Refs #10542. I'm still not sure how to
handle all the stuff in resolver.c for DNS resolution. I couldn't quite see how
to reconcile our earlier stuff with this new code. Hopefully a more skilled
Win32 developer can finish this.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Mon, 22 Feb 2010 00:36:15 +0000 |
parents | 6359fde67f4c |
children | eb8b1cfd3349 |
line wrap: on
line diff
--- a/libpurple/protocols/gg/lib/common.c Sun Feb 21 16:52:42 2010 +0000 +++ b/libpurple/protocols/gg/lib/common.c Mon Feb 22 00:36:15 2010 +0000 @@ -47,27 +47,34 @@ * * \brief Funkcje wykorzystywane przez różne moduły biblioteki */ -#include <sys/types.h> -#include <sys/ioctl.h> -#include <sys/socket.h> -#include <netinet/in.h> -#include <arpa/inet.h> -#ifdef sun -# include <sys/filio.h> + +#include "libgadu.h" +#include "libgadu-internal.h" + +#ifndef _WIN32 +# include <sys/types.h> +# include <sys/ioctl.h> +# include <sys/socket.h> +# include <netinet/in.h> +# include <arpa/inet.h> +# ifdef sun +# include <sys/filio.h> +# endif #endif #include <errno.h> #include <fcntl.h> -#include <netdb.h> + +#ifndef _WIN32 +# include <netdb.h> +#endif + #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> -#include "libgadu.h" -#include "libgadu-internal.h" - /** * Plik, do którego będą przekazywane informacje odpluskwiania. *