Browse Source

Bugfix: lowl-usb: Include winsock2.h to make sure it is before windows.h

Luke Dashjr 12 years ago
parent
commit
39eba50535
1 changed files with 4 additions and 0 deletions
  1. 4 0
      lowl-usb.c

+ 4 - 0
lowl-usb.c

@@ -9,6 +9,10 @@
 
 #include "config.h"
 
+#ifdef WIN32
+#include <winsock2.h>
+#endif
+
 #include <stddef.h>
 #include <stdint.h>
 #include <stdlib.h>