Skip to content
Snippets Groups Projects
Commit 8bc56fe0 authored by Eleni Maria Stea's avatar Eleni Maria Stea
Browse files

_WANT_KERNEL_ERRNO must be defined in FreeBSD for ERESTART to be used


In FreeBSD's errno.h ERESTART is not defined by default, only when the
user requests the pseudo-errors returned inside the kernel to be
enabled. As a result the block where drmCommandWriteRead is
called returns compile error. Defined _WANT_KERNEL_ERRNO to fix it (see
FreeBSD's /usr/include/errno.h)

Signed-off-by: default avatarEleni Maria Stea <elene.mst@gmail.com>
Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
parent 90c9175c
No related branches found
No related tags found
1 merge request!173Fix compile error in FreeBSD build
Pipeline #343261 passed