[PATCH:drm 4/4] Add missing header includes.

Thomas Klausner wiz at NetBSD.org
Tue Jul 15 10:22:55 PDT 2014


unistd.h for close() and xf86drm.h for drmOpen().

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 tests/radeon/radeon_ttm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/radeon/radeon_ttm.c b/tests/radeon/radeon_ttm.c
index 246fd99..ac3297a 100644
--- a/tests/radeon/radeon_ttm.c
+++ b/tests/radeon/radeon_ttm.c
@@ -25,7 +25,9 @@
  */
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 #include "rbo.h"
+#include "xf86drm.h"
 
 /* allocate as many single page bo to try to starve the kernel
  * memory zone (below highmem)
-- 
1.9.4



More information about the dri-devel mailing list