1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 /* 3 * Copyright (C) 2005, Novell, Inc. 4 */ 5 6 #ifndef __SOUP_PORTABILITY_H__ 7 #define __SOUP_PORTABILITY_H__ 8 9 #include <libsoup/soup-types.h> 10 11 #ifdef G_OS_WIN32 12 13 #include <winsock2.h> 14 #include <ws2tcpip.h> 15 16 #else 17 18 #include <netinet/in.h> 19 #include <netinet/tcp.h> 20 #include <arpa/inet.h> 21 #include <sys/socket.h> 22 #include <netdb.h> 23 24 #endif 25 26 #endif /* __SOUP_PORTABILITY_H__ */ 27