From: Eleni Maria Stea Date: Mon, 7 Jun 2021 07:19:18 +0000 (+0300) Subject: include in xf86drmMode when the OS is FreeBSD X-Git-Tag: libdrm-2.4.107~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90c9175c8197855afeb1eed17d98fa36b51c43a3;p=platform%2Fupstream%2Flibdrm.git 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 --- diff --git a/xf86drmMode.c b/xf86drmMode.c index c3920b9..0106954 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