diff mbox

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

Message ID 1405444975-29236-4-git-send-email-wiz@NetBSD.org (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Klausner July 15, 2014, 5:22 p.m. UTC
unistd.h for close() and xf86drm.h for drmOpen().

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

Patch

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)