diff --git a/src/osgPlugins/net/sockstream.cpp b/src/osgPlugins/net/sockstream.cpp index 768aacd96..710740b4e 100644 --- a/src/osgPlugins/net/sockstream.cpp +++ b/src/osgPlugins/net/sockstream.cpp @@ -77,9 +77,6 @@ extern "C" { # include } #else - -typedef int socklen_t; - # define EWOULDBLOCK WSAEWOULDBLOCK # define EINPROGRESS WSAEINPROGRESS # define EALREADY WSAEALREADY @@ -130,7 +127,7 @@ typedef int socklen_t; #include #endif -#if defined( __sgi ) || defined (__hpux) +#ifdef __sgi typedef int socklen_t; #endif