diff options
Diffstat (limited to 'src/unix.h')
-rw-r--r-- | src/unix.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/unix.h b/src/unix.h deleted file mode 100644 index 863e478..0000000 --- a/src/unix.h +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | /*=========================================================================*\ | ||
2 | * Network compatibilization module: Unix version | ||
3 | * | ||
4 | * RCS ID: $Id$ | ||
5 | \*=========================================================================*/ | ||
6 | #ifndef UNIX_H_ | ||
7 | #define UNIX_H_ | ||
8 | |||
9 | /*=========================================================================*\ | ||
10 | * BSD include files | ||
11 | \*=========================================================================*/ | ||
12 | /* error codes */ | ||
13 | #include <errno.h> | ||
14 | /* close function */ | ||
15 | #include <unistd.h> | ||
16 | /* fnctnl function and associated constants */ | ||
17 | #include <fcntl.h> | ||
18 | /* struct timeval and CLK_TCK */ | ||
19 | #include <sys/time.h> | ||
20 | /* times function and struct tms */ | ||
21 | #include <sys/times.h> | ||
22 | /* struct sockaddr */ | ||
23 | #include <sys/types.h> | ||
24 | /* socket function */ | ||
25 | #include <sys/socket.h> | ||
26 | /* gethostbyname and gethostbyaddr functions */ | ||
27 | #include <netdb.h> | ||
28 | /* sigpipe handling */ | ||
29 | #include <signal.h> | ||
30 | /* IP stuff*/ | ||
31 | #include <netinet/in.h> | ||
32 | #include <arpa/inet.h> | ||
33 | |||
34 | #define COMPAT_FD int | ||
35 | #define COMPAT_INVALIDFD (-1) | ||
36 | |||
37 | #define compat_bind bind | ||
38 | #define compat_connect connect | ||
39 | #define compat_listen listen | ||
40 | #define compat_close close | ||
41 | #define compat_select select | ||
42 | |||
43 | #endif /* UNIX_H_ */ | ||