add minimal winsock->BSD networking header shims

also add license header to existing shims
This commit is contained in:
Brent Cook
2014-11-19 07:43:07 -06:00
committed by Brent Cook
parent 1bbde19a7c
commit cccdd689e3
20 changed files with 205 additions and 2 deletions

10
include/netinet/in.h Normal file
View File

@@ -0,0 +1,10 @@
/*
* Public domain
* netinet/in.h compatibility shim
*/
#ifndef _WIN32
#include_next <netinet/in.h>
#else
#include <win32netcompat.h>
#endif

10
include/netinet/tcp.h Normal file
View File

@@ -0,0 +1,10 @@
/*
* Public domain
* netinet/tcp.h compatibility shim
*/
#ifndef _WIN32
#include_next <netinet/tcp.h>
#else
#include <win32netcompat.h>
#endif