summaryrefslogtreecommitdiffstats
path: root/libvncclient
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-03-21 01:05:27 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-03-21 01:05:27 +0100
commit19fdbe72814d9a3f0b61a3d7014f0b44e73bd35e (patch)
tree17b9fc444249ffa34209d9f53b0fb6b9acd63392 /libvncclient
parent711aa544049cd18d3276a69364d4f45ffe364c4c (diff)
downloadlibtdevnc-19fdbe72814d9a3f0b61a3d7014f0b44e73bd35e.tar.gz
libtdevnc-19fdbe72814d9a3f0b61a3d7014f0b44e73bd35e.zip
Add sys/socket.h include in sasl.c to resolve FTBFS.r14.1.0
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'libvncclient')
-rw-r--r--libvncclient/sasl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvncclient/sasl.c b/libvncclient/sasl.c
index db240c1..b533adb 100644
--- a/libvncclient/sasl.c
+++ b/libvncclient/sasl.c
@@ -38,6 +38,10 @@
#include <errno.h>
#include <rfb/rfbclient.h>
+#if LIBVNCSERVER_HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
#ifdef WIN32
#undef SOCKET
#include <winsock2.h>