diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/arpa/nameser.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h new file mode 100644 index 0000000..0126a60 --- /dev/null +++ b/include/arpa/nameser.h | |||
@@ -0,0 +1,23 @@ | |||
1 | /* | ||
2 | * Public domain | ||
3 | * arpa/inet.h compatibility shim | ||
4 | */ | ||
5 | |||
6 | #ifndef _WIN32 | ||
7 | #include_next <arpa/nameser.h> | ||
8 | #else | ||
9 | #include <win32netcompat.h> | ||
10 | |||
11 | #ifndef INADDRSZ | ||
12 | #define INADDRSZ 4 | ||
13 | #endif | ||
14 | |||
15 | #ifndef IN6ADDRSZ | ||
16 | #define IN6ADDRSZ 16 | ||
17 | #endif | ||
18 | |||
19 | #ifndef INT16SZ | ||
20 | #define INT16SZ 2 | ||
21 | #endif | ||
22 | |||
23 | #endif | ||