--- tests/syncobj_wait.c.orig 2022-08-31 20:00:01 UTC +++ tests/syncobj_wait.c @@ -31,6 +31,10 @@ #include #include "drm.h" +#ifdef __FreeBSD__ +#define ETIME ETIMEDOUT +#endif + IGT_TEST_DESCRIPTION("Tests for the drm sync object wait API"); /* One tenth of a second */