Index: openscenegraph/OpenSceneGraph/applications/present3D/Cluster.cpp
===================================================================
--- openscenegraph.orig/OpenSceneGraph/applications/present3D/Cluster.cpp	2011-05-05 09:38:53.000000000 +0200
+++ openscenegraph/OpenSceneGraph/applications/present3D/Cluster.cpp	2011-05-05 09:39:53.000000000 +0200
@@ -33,7 +33,7 @@
 #if defined(__linux)
     #include <unistd.h>
     #include <linux/sockios.h>
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
     #include <unistd.h>
     #include <sys/sockio.h>
 #elif defined(__sgi)
