let it build with clang

This commit is contained in:
espie 2017-05-21 11:28:27 +00:00
parent f69fcc310c
commit f90095fee3

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-client_socket_cpp,v 1.1 2017/05/21 11:28:27 espie Exp $
Index: client/socket.cpp
--- client/socket.cpp.orig
+++ client/socket.cpp
@@ -45,6 +45,10 @@ struct sockaddr_un {
};
#endif
+#ifdef Q_OS_OPENBSD
+#include <sys/select.h>
+#endif
+
Soprano::Socket::Socket( SOCKET_HANDLE fd )
: m_handle( fd ),
m_mutex( QMutex::Recursive )