1.1 --- a/src/share/vm/utilities/ostream.cpp Tue Sep 20 23:50:16 2011 -0700 1.2 +++ b/src/share/vm/utilities/ostream.cpp Sun Sep 25 16:03:29 2011 -0700 1.3 @@ -39,6 +39,9 @@ 1.4 #ifdef TARGET_OS_FAMILY_windows 1.5 # include "os_windows.inline.hpp" 1.6 #endif 1.7 +#ifdef TARGET_OS_FAMILY_bsd 1.8 +# include "os_bsd.inline.hpp" 1.9 +#endif 1.10 1.11 extern "C" void jio_print(const char* s); // Declarationtion of jvm method 1.12 1.13 @@ -992,7 +995,7 @@ 1.14 1.15 #ifndef PRODUCT 1.16 1.17 -#if defined(SOLARIS) || defined(LINUX) 1.18 +#if defined(SOLARIS) || defined(LINUX) || defined(_ALLBSD_SOURCE) 1.19 #include <sys/types.h> 1.20 #include <sys/socket.h> 1.21 #include <netinet/in.h>