radeon: Add missing header includes.
authorThomas Klausner <wiz@NetBSD.org>
Tue, 15 Jul 2014 17:22:55 +0000 (19:22 +0200)
committerMichel Dänzer <michel@daenzer.net>
Wed, 16 Jul 2014 03:16:08 +0000 (12:16 +0900)
unistd.h for close() and xf86drm.h for drmOpen().

Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
tests/radeon/radeon_ttm.c

index 246fd99..ac3297a 100644 (file)
@@ -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)