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/netinet | |
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/netinet')
-rw-r--r-- | include/netinet/in.h | 10 | ||||
-rw-r--r-- | include/netinet/tcp.h | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/include/netinet/in.h b/include/netinet/in.h new file mode 100644 index 0000000..20e57b8 --- /dev/null +++ b/include/netinet/in.h | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | * Public domain | ||
3 | * netinet/in.h compatibility shim | ||
4 | */ | ||
5 | |||
6 | #ifndef _WIN32 | ||
7 | #include_next <netinet/in.h> | ||
8 | #else | ||
9 | #include <win32netcompat.h> | ||
10 | #endif | ||
diff --git a/include/netinet/tcp.h b/include/netinet/tcp.h new file mode 100644 index 0000000..c98cf74 --- /dev/null +++ b/include/netinet/tcp.h | |||
@@ -0,0 +1,10 @@ | |||
1 | /* | ||
2 | * Public domain | ||
3 | * netinet/tcp.h compatibility shim | ||
4 | */ | ||
5 | |||
6 | #ifndef _WIN32 | ||
7 | #include_next <netinet/tcp.h> | ||
8 | #else | ||
9 | #include <win32netcompat.h> | ||
10 | #endif | ||