diff --git a/Code/Mantid/Framework/Kernel/src/RemoteJobManager.cpp b/Code/Mantid/Framework/Kernel/src/RemoteJobManager.cpp
index fba3f359c00f5285ab311c3defe648373a3006e3..ba7a9d617da253fad8fc8f6a5ebfd1c92c0fd55c 100644
--- a/Code/Mantid/Framework/Kernel/src/RemoteJobManager.cpp
+++ b/Code/Mantid/Framework/Kernel/src/RemoteJobManager.cpp
@@ -1,7 +1,8 @@
 // HACK! Workaround for Poco headers trying to include both winsock.h and winsock2.h
 // If this actually works, I'll see if I can get on an actual Windows machine and
 // try to sort out a better solution
-#ifdef _WIN32
+#if defined(_WIN32) || defined(WIN32)
+  #warning "Including winsock2.h!!"
   #include <winsock2.h>
 #endif