LinuxKPI: lockdep fix #includes

Add sys/sytm.h for __diagused which unbreaks compilation of
drm-kmod 5.10-lts on main.

Sponsored by:	The FreeBSD Foundation
Reported by:	Evgenii Khramtsov
PR:		282479
Fixes:		5c92f84bb607
Approved by:	re (cperciva)

(cherry picked from commit 9b2705121ba230bf71a1509cc928f0481dfbf31c)
(cherry picked from commit 06733ceca6)
This commit is contained in:
Bjoern A. Zeeb 2024-11-02 01:21:52 +00:00
parent 8b0dcdec41
commit de5496958c

View file

@ -30,6 +30,7 @@
#ifndef _LINUXKPI_LINUX_LOCKDEP_H_
#define _LINUXKPI_LINUX_LOCKDEP_H_
#include <sys/systm.h>
#include <sys/types.h>
#include <sys/lock.h>