ETIME seems to be missing, so just alias it to ETIMEDOUT
It's just used by internal functions of the tools.

Signed-off-by: Enrico Weigelt, metux IT consult <i...@metux.net>
---
 tools/virtual.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/virtual.c b/tools/virtual.c
index 010a3aab..9a4dde8e 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -69,6 +69,11 @@
 #include <fcntl.h>
 #include <assert.h>

+// for FreeBSD
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
+
 #define FORCE_FULL_REDRAW 0
 #define FORCE_16BIT_XFER 0

--
2.39.5

Reply via email to