MSVC compatibility fixes.

diff --git a/loader/resource.c b/loader/resource.c
index a4a5e61..f16d5d3 100644
--- a/loader/resource.c
+++ b/loader/resource.c
@@ -20,6 +20,7 @@
  */
 
 #include "config.h"
+#include "wine/port.h"
 
 #include <assert.h>
 #include <stdlib.h>