From 66f39250b71d26ba3a97bce3cb19bbedd956a314 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Fri, 21 Oct 2011 18:38:39 -0700 Subject: [PATCH] Fix MinGW build --- src/win/winapi.h | 4 ++++ src/win/winsock.h | 2 ++ 2 files changed, 6 insertions(+) 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