linuxkpi: Include errno.h from acpi/video.h

This defines `ENODEV` used in this header. This fixes a build failure in
the DRM drivers.

Reviewed by:	bz
Approved by:	bz
Differential Revision:	https://reviews.freebsd.org/D37909
This commit is contained in:
Jean-Sébastien Pédron 2022-12-30 10:48:01 +01:00
parent e3e57edf4a
commit 8dfb5571c4
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC

View File

@ -31,6 +31,8 @@
#ifndef _LINUXKPI_ACPI_VIDEO_H_
#define _LINUXKPI_ACPI_VIDEO_H_
#include <sys/errno.h>
#define ACPI_VIDEO_CLASS "video"
#define ACPI_VIDEO_NOTIFY_PROBE 0x81