aboutsummaryrefslogtreecommitdiff
path: root/src/socket.h
blob: b7af25b0df494fb7822b848fd33c780bbd035183 (plain) (blame)
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
29
30
31
32
33
34
35
36
37
/* Copyrights 2002 Luis Figueiredo (stdio@netc.pt) All rights reserved. 
 *
 * See the LICENSE file
 *
 * The origin of this software must not be misrepresented, either by
 * explicit claim or by omission.  Since few users ever read sources,
 * credits must appear in the documentation.
 *
 * date: Sat Mar 30 14:44:42 GMT 2002
 *
 *
 * --
 *
 */

#ifndef _SOCKET_H_
#define _SOCKET_H_

#include <stdio.h>
#include <stdarg.h>

#ifdef WIN32
#include <winsock2.h>
#include <io.h>
#else
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <sys/time.h> // struct tv
#include <sys/types.h>  // freebsd need it i gues that is no problem if other system includes it
#endif

#define __ILWS_read recv

#endif