[Mesa-dev] [PATCH 1/4] nouveau: include all compile dependencies for nouveau_context.h

Karol Herbst kherbst at redhat.com
Tue Nov 20 19:21:55 UTC 2018


Signed-off-by: Karol Herbst <kherbst at redhat.com>
---
 src/gallium/drivers/nouveau/nouveau_context.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gallium/drivers/nouveau/nouveau_context.h b/src/gallium/drivers/nouveau/nouveau_context.h
index c3bbb11bd60..38c19790ec3 100644
--- a/src/gallium/drivers/nouveau/nouveau_context.h
+++ b/src/gallium/drivers/nouveau/nouveau_context.h
@@ -3,8 +3,13 @@
 
 #include "pipe/p_context.h"
 #include "pipe/p_state.h"
+
+#include "util/u_memory.h"
+
 #include <nouveau.h>
 
+#include "nouveau_screen.h"
+
 #define NOUVEAU_MAX_SCRATCH_BUFS 4
 
 struct nv04_resource;
-- 
2.19.1



More information about the mesa-dev mailing list