* enable openjpeg building for win32/msvc
[blender-staging.git] / extern / libredcode / format.c
index 35410e9e26916c09f928d501ccb4ef9e05c0a180..4677c49b8a561b978a53704365b1988f3fb916e0 100644 (file)
@@ -1,4 +1,9 @@
+#ifdef _WIN32
+#include <Winsock2.h>
+#else
 #include <netinet/in.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>