summaryrefslogtreecommitdiff
path: root/libsoup/soup-portability.h
blob: 1814efbd16edea812d66481e3593fdc7b763940f (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
/* -*- 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 <libsoup/soup-types.h>

#ifdef G_OS_WIN32

#include <winsock2.h>
#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 */