--- OpenSceneGraph-OpenSceneGraph-3.6.5/applications/present3D/Cluster.cpp.orig 2022-08-12 18:48:32.623722479 +0000 +++ OpenSceneGraph-OpenSceneGraph-3.6.5/applications/present3D/Cluster.cpp 2022-08-12 18:55:52.506050766 +0000 @@ -351,7 +351,7 @@ } #if defined(__linux) || defined(__FreeBSD__) || defined( __APPLE__ ) || \ - defined(__DragonFly__) || defined(__FreeBSD_kernel__) || defined(__GNU__) + defined(__DragonFly__) || defined(__FreeBSD_kernel__) || defined(__GNU__) || defined(__sun) && (__SVR4) socklen_t #else int