diff --git a/src/gallium/auxiliary/util/u_screen.c b/src/gallium/auxiliary/util/u_screen.c index 410f17421e6..e5e8763f4f1 100644 --- a/src/gallium/auxiliary/util/u_screen.c +++ b/src/gallium/auxiliary/util/u_screen.c @@ -359,7 +359,7 @@ u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen, return 1; case PIPE_CAP_DMABUF: -#ifdef PIPE_OS_LINUX +#if defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) return 1; #else return 0;