src/protocols/zephyr/internal.h

changeset 10867
b39f9b646d6c
parent 2419
beb509dd2935
child 11105
842fa517e08c
equal deleted inserted replaced
10866:40eab743e22b 10867:b39f9b646d6c
1 1
2 #ifndef __INTERNAL_H__ 2 #ifndef __INTERNAL_H__
3 #define __INTERNAL_H__ 3 #define __INTERNAL_H__
4 #if 0
5 struct timezone {
6 int tz_minuteswest;
7 int tz_dsttime;
8 };
9 #endif
4 10
5 #include <sysdep.h> 11 #include <sysdep.h>
6 #include <zephyr/zephyr.h> 12
13 #include <zephyr.h>
14 #ifndef WIN32
7 #include <netdb.h> 15 #include <netdb.h>
16 #endif
17
18
19
20 #ifdef WIN32
21
22 #ifndef MAXHOSTNAMELEN
23 #define MAXHOSTNAMELEN 512
24 #endif
25
26 #define ETIMEDOUT WSAETIMEDOUT
27 #define EADDRINUSE WSAEADDRINUSE
28 #endif
8 29
9 #ifdef ZEPHYR_USES_HESIOD 30 #ifdef ZEPHYR_USES_HESIOD
10 #include <hesiod.h> 31 #include <hesiod.h>
11 #endif 32 #endif
12 33

mercurial