tools: fix FTBS on FreeBSD

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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-06-03 20:41:38 +02:00
parent d6e228482c
commit 08876d7024

View File

@@ -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