patch-applications_present3D_Cluster_cpp 771 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-applications_present3D_Cluster_cpp,v 1.3 2015/09/22 18:49:15 pascal Exp $
  2. --- applications/present3D/Cluster.cpp.orig Mon Apr 13 12:43:56 2015
  3. +++ applications/present3D/Cluster.cpp Thu Sep 10 20:46:22 2015
  4. @@ -33,7 +33,7 @@
  5. #if defined(__linux)
  6. #include <unistd.h>
  7. #include <linux/sockios.h>
  8. -#elif defined(__FreeBSD__) || defined(__DragonFly__)
  9. +#elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
  10. #include <unistd.h>
  11. #include <sys/sockio.h>
  12. #elif defined(__sgi)
  13. @@ -338,7 +338,7 @@ void Receiver::sync( void )
  14. }
  15. #if defined(__linux) || defined(__FreeBSD__) || defined( __APPLE__ ) || \
  16. - defined(__DragonFly__)
  17. + defined(__DragonFly__) || defined(__OpenBSD__)
  18. socklen_t
  19. #else
  20. int