hotspot/src/os/windows/vm/jvm_windows.h
changeset 11256 025cd1741566
parent 10246 adee0cf4c981
child 12593 b0e4fdf19f29
--- a/hotspot/src/os/windows/vm/jvm_windows.h	Mon Dec 19 21:38:51 2011 -0800
+++ b/hotspot/src/os/windows/vm/jvm_windows.h	Wed Dec 21 15:48:16 2011 -0500
@@ -22,6 +22,9 @@
  *
  */
 
+#ifndef OS_WINDOWS_VM_JVM_WINDOWS_H
+#define OS_WINDOWS_VM_JVM_WINDOWS_H
+
 #ifndef _JAVASOFT_JVM_MD_H_
 #define _JAVASOFT_JVM_MD_H_
 
@@ -54,9 +57,9 @@
 #include <Psapi.h>
 #endif
 
-
+#include <Tlhelp32.h>
 
-#include <Tlhelp32.h>
+typedef unsigned int socklen_t;
 
 // #include "jni.h"
 
@@ -129,3 +132,5 @@
 #define SHUTDOWN2_SIGNAL SIGTERM
 
 #endif /* !_JAVASOFT_JVM_MD_H_ */
+
+#endif // OS_WINDOWS_VM_JVM_WINDOWS_H