diff --git a/src/win/winapi.h b/src/win/winapi.h index 9ed808ea..e0038f14 100644 --- a/src/win/winapi.h +++ b/src/win/winapi.h @@ -4211,6 +4211,10 @@ typedef enum _FILE_INFORMATION_CLASS { # define FILE_DEVICE_FILE_SYSTEM 0x00000009 #endif +#ifndef FILE_DEVICE_NETWORK +# define FILE_DEVICE_NETWORK 0x00000012 +#endif + #ifndef METHOD_BUFFERED # define METHOD_BUFFERED 0 #endif diff --git a/src/win/winsock.h b/src/win/winsock.h index 18978cf3..beee0321 100644 --- a/src/win/winsock.h +++ b/src/win/winsock.h @@ -27,6 +27,8 @@ #include #include +#include "winapi.h" + /* * MinGW is missing these too