mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-14 14:32:57 -04:00
render/drm_syncobj: fix ETIME for openbsd
This commit is contained in:
parent
46c73187b9
commit
68764dc6ac
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ out:
|
||||||
bool wlr_drm_syncobj_timeline_check(struct wlr_drm_syncobj_timeline *timeline,
|
bool wlr_drm_syncobj_timeline_check(struct wlr_drm_syncobj_timeline *timeline,
|
||||||
uint64_t point, uint32_t flags, bool *result) {
|
uint64_t point, uint32_t flags, bool *result) {
|
||||||
int etime;
|
int etime;
|
||||||
#if defined(__FreeBSD__)
|
#if defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||||
etime = ETIMEDOUT;
|
etime = ETIMEDOUT;
|
||||||
#else
|
#else
|
||||||
etime = ETIME;
|
etime = ETIME;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue