summaryrefslogtreecommitdiff
path: root/libsoup/soup-portability.h
blob: be00312c9b295bffd903cf0540de5c94520500d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Copyright (C) 2005, Novell, Inc.
 */

#ifndef SOUP_PORTABILITY_H
#define SOUP_PORTABILITY_H

#include <glibconfig.h>

#ifdef G_OS_WIN32

#include <winsock2.h>
#undef interface

#include <ws2tcpip.h>

#else

#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netdb.h>

#endif

#endif /* SOUP_PORTABILITY_H */