Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2023 21:14:26 GMT
From:      =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= <dumbbell@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8dfb5571c4d8 - main - linuxkpi: Include `errno.h` from `acpi/video.h`
Message-ID:  <202301022114.302LEQ7t044169@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dumbbell (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=8dfb5571c4d88b2320407968b14590aa80b44fb3

commit 8dfb5571c4d88b2320407968b14590aa80b44fb3
Author:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2022-12-30 09:48:01 +0000
Commit:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2023-01-02 21:05:27 +0000

    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
---
 sys/compat/linuxkpi/common/include/acpi/video.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/acpi/video.h b/sys/compat/linuxkpi/common/include/acpi/video.h
index df1844502ba8..ace4a42a1016 100644
--- a/sys/compat/linuxkpi/common/include/acpi/video.h
+++ b/sys/compat/linuxkpi/common/include/acpi/video.h
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301022114.302LEQ7t044169>