Permalink
Browse files

Fix MinGW build

  • Loading branch information...
1 parent 45882e0 commit 66f39250b71d26ba3a97bce3cb19bbedd956a314 @piscisaureus piscisaureus committed Oct 22, 2011
Showing with 6 additions and 0 deletions.
  1. +4 −0 src/win/winapi.h
  2. +2 −0 src/win/winsock.h
View
@@ -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
View
@@ -27,6 +27,8 @@
#include <ws2tcpip.h>
#include <windows.h>
+#include "winapi.h"
+
/*
* MinGW is missing these too

0 comments on commit 66f3925

Please sign in to comment.