diff options
Diffstat (limited to 'sal/osl/unx/sockimpl.hxx')
-rw-r--r-- | sal/osl/unx/sockimpl.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/osl/unx/sockimpl.hxx b/sal/osl/unx/sockimpl.hxx index dc354db94a42..529aec7ff1eb 100644 --- a/sal/osl/unx/sockimpl.hxx +++ b/sal/osl/unx/sockimpl.hxx @@ -24,6 +24,7 @@ #include <sys/socket.h> #include <sys/un.h> +#include <mutex> #if defined(LINUX) || defined(FREEBSD) || defined(NETBSD) #define CLOSESOCKET_DOESNT_WAKE_UP_ACCEPT 1 @@ -45,6 +46,7 @@ struct oslSocketAddrImpl }; struct oslPipeImpl { + std::mutex m_Mutex; int m_Socket; char m_Name[sizeof sockaddr_un::sun_path]; oslInterlockedCount m_nRefCount; |