From c92a0362d9a2e084af9822699d5e2a1100325d24 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 28 Sep 2014 19:18:58 +0100 Subject: [PATCH] nouveau: fix 32bit builds On 32bit platforms we have to provide _FILE_OFFSET_BITS via config.h otherwise the static assert in drm_munmap will trigger. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84428 Signed-off-by: Emil Velikov --- nouveau/private.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nouveau/private.h b/nouveau/private.h index bf9db04..8176267 100644 --- a/nouveau/private.h +++ b/nouveau/private.h @@ -1,6 +1,10 @@ #ifndef __NOUVEAU_LIBDRM_PRIVATE_H__ #define __NOUVEAU_LIBDRM_PRIVATE_H__ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include -- 2.1.0