2
* Copyright (C) <2007> Leandro Melo de Sales <leandroal@gmail.com>
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Library General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Library General Public License for more details.
14
* You should have received a copy of the GNU Library General Public
15
* License along with this library; if not, write to the
16
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
* Boston, MA 02111-1307, USA.
20
#ifndef __GST_DCCP_NET_H__
21
#define __GST_DCCP_NET_H__
25
# include <sys/socket.h>
26
# include <netinet/in.h> /* sockaddr_in */
27
# include <arpa/inet.h>
28
# include <sys/ioctl.h>
30
/* ws2_32.dll has getaddrinfo and freeaddrinfo on Windows XP and later.
31
* minwg32 headers check WINVER before allowing the use of these */
32
# define WINVER 0x0501
33
# include <winsock2.h>
34
# include <ws2tcpip.h>
36
#include <sys/types.h>
40
#endif /* __GST_DCCP_NET_H__ */