diff options
| author | Brent Cook <busterb@gmail.com> | 2014-11-19 07:43:07 -0600 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2014-12-03 17:07:17 -0600 |
| commit | cccdd689e39b51af02b156229e5236a2a69dcdcb (patch) | |
| tree | 79a77dcdc785a109aaaeb4a2a47507933525e47b /include/arpa | |
| parent | 1bbde19a7c0db8d25fb496dea3e05e3dbc0bbeaf (diff) | |
| download | portable-cccdd689e39b51af02b156229e5236a2a69dcdcb.tar.gz portable-cccdd689e39b51af02b156229e5236a2a69dcdcb.tar.bz2 portable-cccdd689e39b51af02b156229e5236a2a69dcdcb.zip | |
add minimal winsock->BSD networking header shims
also add license header to existing shims
Diffstat (limited to 'include/arpa')
| -rw-r--r-- | include/arpa/inet.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/arpa/inet.h b/include/arpa/inet.h new file mode 100644 index 0000000..5d43e4f --- /dev/null +++ b/include/arpa/inet.h | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | /* | ||
| 2 | * Public domain | ||
| 3 | * arpa/inet.h compatibility shim | ||
| 4 | */ | ||
| 5 | |||
| 6 | #ifndef _WIN32 | ||
| 7 | #include_next <arpa/inet.h> | ||
| 8 | #else | ||
| 9 | #include <win32netcompat.h> | ||
| 10 | #endif | ||
