From 90c9175c8197855afeb1eed17d98fa36b51c43a3 Mon Sep 17 00:00:00 2001 From: Eleni Maria Stea Date: Mon, 7 Jun 2021 10:19:18 +0300 Subject: [PATCH] include in xf86drmMode when the OS is FreeBSD need to be included in xf86drmMode.c for type u_int in (that is included when OS is FreeBSD) to be recognized. Signed-off-by: Eleni Maria Stea Reviewed-by: Eric Engestrom --- xf86drmMode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xf86drmMode.c b/xf86drmMode.c index c3920b91..0106954b 100644 --- a/xf86drmMode.c +++ b/xf86drmMode.c @@ -38,6 +38,9 @@ #include #include #if HAVE_SYS_SYSCTL_H +#ifdef __FreeBSD__ +#include +#endif #include #endif #include