Displaying 1 result from an estimated 1 matches for "1dfdaac".
2014 Jun 19
1
[PATCH] nouveau: dup fd before passing it to device
...f-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c b/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
index 1dfdaac..833fb9a 100644
--- a/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
+++ b/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
@@ -1,4 +1,5 @@
#include <sys/stat.h>
+#include <unistd.h>
#include "pipe/p_context.h"
#include "pipe/p_state.h"
#include "uti...