aboutsummaryrefslogtreecommitdiff
path: root/src/ui/unixdomainsocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/unixdomainsocket.h')
-rw-r--r--src/ui/unixdomainsocket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/unixdomainsocket.h b/src/ui/unixdomainsocket.h
index b533fd358..30174042b 100644
--- a/src/ui/unixdomainsocket.h
+++ b/src/ui/unixdomainsocket.h
@@ -25,8 +25,9 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/types.h>
+#ifdef Q_OS_LINUX
#include <linux/un.h>
-
+#endif
/*!
* UnixDomainSocket class is a wrapper around the unix domain sockets implementation.