From a964f69d261c541db2c71a7674aaa06787a5f3c1 Mon Sep 17 00:00:00 2001 From: jmcneill Date: Sun, 19 Jan 2020 16:12:00 +0000 Subject: [PATCH] Pull in drm_os_netbsd.h for CONFIG_ defines --- sys/external/bsd/drm2/dist/include/drm/drm_cache.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/external/bsd/drm2/dist/include/drm/drm_cache.h b/sys/external/bsd/drm2/dist/include/drm/drm_cache.h index 7dc7699c624a..b1650084eb45 100644 --- a/sys/external/bsd/drm2/dist/include/drm/drm_cache.h +++ b/sys/external/bsd/drm2/dist/include/drm/drm_cache.h @@ -1,4 +1,4 @@ -/* $NetBSD: drm_cache.h,v 1.3 2020/01/19 12:03:27 jmcneill Exp $ */ +/* $NetBSD: drm_cache.h,v 1.4 2020/01/19 16:12:00 jmcneill Exp $ */ /************************************************************************** * @@ -35,6 +35,10 @@ #ifndef _DRM_CACHE_H_ #define _DRM_CACHE_H_ +#ifdef __NetBSD__ +#include +#endif + void drm_clflush_pages(struct page *pages[], unsigned long num_pages); static inline bool drm_arch_can_wc_memory(void)