diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/Makefile.am | 1 | ||||
| -rw-r--r-- | include/arpa/inet.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index 7e1ece2..b620938 100644 --- a/include/Makefile.am +++ b/include/Makefile.am | |||
| @@ -14,6 +14,7 @@ noinst_HEADERS += unistd.h | |||
| 14 | noinst_HEADERS += win32netcompat.h | 14 | noinst_HEADERS += win32netcompat.h |
| 15 | 15 | ||
| 16 | noinst_HEADERS += arpa/inet.h | 16 | noinst_HEADERS += arpa/inet.h |
| 17 | noinst_HEADERS += arpa/nameser.h | ||
| 17 | 18 | ||
| 18 | noinst_HEADERS += machine/endian.h | 19 | noinst_HEADERS += machine/endian.h |
| 19 | 20 | ||
diff --git a/include/arpa/inet.h b/include/arpa/inet.h index 5d43e4f..67740c6 100644 --- a/include/arpa/inet.h +++ b/include/arpa/inet.h | |||
| @@ -7,4 +7,13 @@ | |||
| 7 | #include_next <arpa/inet.h> | 7 | #include_next <arpa/inet.h> |
| 8 | #else | 8 | #else |
| 9 | #include <win32netcompat.h> | 9 | #include <win32netcompat.h> |
| 10 | |||
| 11 | #ifndef AI_ADDRCONFIG | ||
| 12 | #define AI_ADDRCONFIG 0x00000400 | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #endif | ||
| 16 | |||
| 17 | #ifndef HAVE_INET_PTON | ||
| 18 | int inet_pton(int af, const char * restrict src, void * restrict dst); | ||
| 10 | #endif | 19 | #endif |
