diff options
Diffstat (limited to 'include/compat')
| -rw-r--r-- | include/compat/sys/socket.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/compat/sys/socket.h b/include/compat/sys/socket.h new file mode 100644 index 0000000..17e84f1 --- /dev/null +++ b/include/compat/sys/socket.h | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | /* | ||
| 2 | * Public domain | ||
| 3 | * sys/socket.h compatibility shim | ||
| 4 | */ | ||
| 5 | |||
| 6 | #ifndef _WIN32 | ||
| 7 | #include_next <sys/socket.h> | ||
| 8 | #else | ||
| 9 | #include <win32netcompat.h> | ||
| 10 | #endif | ||
