File: soup-portability.h

package info (click to toggle)
libsoup2.4 2.72.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,856 kB
  • sloc: ansic: 57,273; xml: 1,418; python: 84; php: 75; javascript: 64; sh: 49; makefile: 14
file content (26 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (4)
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__ */