hotspot/src/share/vm/utilities/ostream.cpp
changeset 10565 dc90c239f4ec
parent 9990 c8683968c01b
child 11256 025cd1741566
--- a/hotspot/src/share/vm/utilities/ostream.cpp	Tue Sep 20 23:50:16 2011 -0700
+++ b/hotspot/src/share/vm/utilities/ostream.cpp	Sun Sep 25 16:03:29 2011 -0700
@@ -39,6 +39,9 @@
 #ifdef TARGET_OS_FAMILY_windows
 # include "os_windows.inline.hpp"
 #endif
+#ifdef TARGET_OS_FAMILY_bsd
+# include "os_bsd.inline.hpp"
+#endif
 
 extern "C" void jio_print(const char* s); // Declarationtion of jvm method
 
@@ -992,7 +995,7 @@
 
 #ifndef PRODUCT
 
-#if defined(SOLARIS) || defined(LINUX)
+#if defined(SOLARIS) || defined(LINUX) || defined(_ALLBSD_SOURCE)
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>