Mercurial > pidgin
diff src/protocols/jabber/libxode.h @ 3630:9682c0e022c6
[gaim-migrate @ 3753]
Yeah this will probably break a lot of shit knowing my luck. But hey, I really don't care what people thnk.
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Fri, 11 Oct 2002 03:14:01 +0000 |
| parents | 7630fb86df77 |
| children | 988485669631 |
line wrap: on
line diff
--- a/src/protocols/jabber/libxode.h Fri Oct 11 02:10:08 2002 +0000 +++ b/src/protocols/jabber/libxode.h Fri Oct 11 03:14:01 2002 +0000 @@ -1,3 +1,17 @@ +#ifndef _WIN32 +#include <syslog.h> +#include <sys/socket.h> +#include <netinet/in.h> +#include <netdb.h> +#include <arpa/inet.h> +#include <strings.h> +#include <arpa/nameser.h> +#include <resolv.h> +#include <unistd.h> +#else + +#endif + #include <string.h> #include <stdlib.h> #include <sys/types.h> @@ -7,15 +21,6 @@ #include <fcntl.h> #include <errno.h> #include <signal.h> -#include <syslog.h> -#include <strings.h> -#include <unistd.h> -#include <sys/socket.h> -#include <netinet/in.h> -#include <netdb.h> -#include <arpa/inet.h> -#include <arpa/nameser.h> -#include <resolv.h> #include <sys/time.h> #include <time.h> @@ -152,11 +157,9 @@ #define NETSOCKET_CLIENT 1 #define NETSOCKET_UDP 2 -#ifndef WIN32 int make_netsocket(u_short port, char *host, int type); struct in_addr *make_addr(char *host); int set_fd_close_on_exec(int fd, int flag); -#endif /* --------------------------------------------------------- */
