src/share/vm/utilities/ostream.cpp

changeset 3156
f08d439fab8c
parent 2964
2a241e764894
child 3344
11c26bfcf8c7
equal deleted inserted replaced
3155:eda6988c0d81 3156:f08d439fab8c
36 #ifdef TARGET_OS_FAMILY_solaris 36 #ifdef TARGET_OS_FAMILY_solaris
37 # include "os_solaris.inline.hpp" 37 # include "os_solaris.inline.hpp"
38 #endif 38 #endif
39 #ifdef TARGET_OS_FAMILY_windows 39 #ifdef TARGET_OS_FAMILY_windows
40 # include "os_windows.inline.hpp" 40 # include "os_windows.inline.hpp"
41 #endif
42 #ifdef TARGET_OS_FAMILY_bsd
43 # include "os_bsd.inline.hpp"
41 #endif 44 #endif
42 45
43 extern "C" void jio_print(const char* s); // Declarationtion of jvm method 46 extern "C" void jio_print(const char* s); // Declarationtion of jvm method
44 47
45 outputStream::outputStream(int width) { 48 outputStream::outputStream(int width) {
990 } 993 }
991 } 994 }
992 995
993 #ifndef PRODUCT 996 #ifndef PRODUCT
994 997
995 #if defined(SOLARIS) || defined(LINUX) 998 #if defined(SOLARIS) || defined(LINUX) || defined(_ALLBSD_SOURCE)
996 #include <sys/types.h> 999 #include <sys/types.h>
997 #include <sys/socket.h> 1000 #include <sys/socket.h>
998 #include <netinet/in.h> 1001 #include <netinet/in.h>
999 #include <arpa/inet.h> 1002 #include <arpa/inet.h>
1000 #endif 1003 #endif

mercurial