diff options
Diffstat (limited to 'src/socket.h')
-rw-r--r-- | src/socket.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/socket.h b/src/socket.h deleted file mode 100644 index b7af25b0..00000000 --- a/src/socket.h +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /* Copyrights 2002 Luis Figueiredo (stdio@netc.pt) All rights reserved. | ||
2 | * | ||
3 | * See the LICENSE file | ||
4 | * | ||
5 | * The origin of this software must not be misrepresented, either by | ||
6 | * explicit claim or by omission. Since few users ever read sources, | ||
7 | * credits must appear in the documentation. | ||
8 | * | ||
9 | * date: Sat Mar 30 14:44:42 GMT 2002 | ||
10 | * | ||
11 | * | ||
12 | * -- | ||
13 | * | ||
14 | */ | ||
15 | |||
16 | #ifndef _SOCKET_H_ | ||
17 | #define _SOCKET_H_ | ||
18 | |||
19 | #include <stdio.h> | ||
20 | #include <stdarg.h> | ||
21 | |||
22 | #ifdef WIN32 | ||
23 | #include <winsock2.h> | ||
24 | #include <io.h> | ||
25 | #else | ||
26 | #include <sys/socket.h> | ||
27 | #include <netinet/in.h> | ||
28 | #include <arpa/inet.h> | ||
29 | #include <unistd.h> | ||
30 | #include <sys/time.h> // struct tv | ||
31 | #include <sys/types.h> // freebsd need it i gues that is no problem if other system includes it | ||
32 | #endif | ||
33 | |||
34 | #define __ILWS_read recv | ||
35 | |||
36 | #endif | ||
37 | |||