diff options
| author | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-03-13 19:17:24 +0900 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2016-03-13 13:09:25 -0500 |
| commit | 1ffdb2ae2507cd532c66352edeb67da757006546 (patch) | |
| tree | 308b90ef1374ef764d29186704313645242ea94f | |
| parent | ef874034cf7dbbce8643aa1472b8492921617e03 (diff) | |
| download | portable-1ffdb2ae2507cd532c66352edeb67da757006546.tar.gz portable-1ffdb2ae2507cd532c66352edeb67da757006546.tar.bz2 portable-1ffdb2ae2507cd532c66352edeb67da757006546.zip | |
modify include/compat/netinet/ip.h
- add including <netinet/in_systm.h> for n_long on HP-UX
| -rw-r--r-- | include/compat/netinet/ip.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/compat/netinet/ip.h b/include/compat/netinet/ip.h index 405bbcf..6019f7d 100644 --- a/include/compat/netinet/ip.h +++ b/include/compat/netinet/ip.h | |||
| @@ -3,6 +3,10 @@ | |||
| 3 | * netinet/ip.h compatibility shim | 3 | * netinet/ip.h compatibility shim |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | #if defined(__hpux) | ||
| 7 | #include <netinet/in_systm.h> | ||
| 8 | #endif | ||
| 9 | |||
| 6 | #ifndef _WIN32 | 10 | #ifndef _WIN32 |
| 7 | #include_next <netinet/ip.h> | 11 | #include_next <netinet/ip.h> |
| 8 | #else | 12 | #else |
