$OpenBSD: patch-src_libraw_cxx_cpp,v 1.2 2012/02/26 15:07:40 ajacoutot Exp $
--- src/libraw_cxx.cpp.orig	Sat Dec 24 15:59:38 2011
+++ src/libraw_cxx.cpp	Sun Feb 26 15:29:20 2012
@@ -26,6 +26,8 @@ it under the terms of the one of three licenses as you
 #include <sys/types.h>
 #include <sys/stat.h>
 #ifndef WIN32
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <netinet/in.h>
 #else
 #include <winsock2.h>
