< prev index next >

src/hotspot/share/utilities/ostream.cpp

Updated after review

8199736: Define WIN32_LEAN_AND_MEAN before including windows.h
 #if defined(SOLARIS) || defined(LINUX) || defined(AIX) || defined(_ALLBSD_SOURCE)
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
+#elif defined(_WINDOWS)
+#include <winsock2.h>
 #endif
 
 // Network access
 networkStream::networkStream() : bufferedStream(1024*10, 1024*10) {
 
    
< prev index next >