From: Jan Engelhardt Date: 2012-02-11 18:30:33.770195708 +0100 Resolve compiler warnings about use of implicit declared-functions. radeon_ttm.c: In function 'radeon_open_fd': radeon_ttm.c:58:5: warning: implicit declaration of function 'drmOpen' [-Wimplicit-function-declaration] radeon_ttm.c: In function 'main': radeon_ttm.c:73:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] radeon_ttm.c: At top level: --- tests/radeon/radeon_ttm.c | 2 ++ 1 file changed, 2 insertions(+) Index: libdrm-2.4.31/tests/radeon/radeon_ttm.c =================================================================== --- libdrm-2.4.31.orig/tests/radeon/radeon_ttm.c +++ libdrm-2.4.31/tests/radeon/radeon_ttm.c @@ -25,7 +25,9 @@ */ #include #include +#include #include "rbo.h" +#include "xf86drm.h" /* allocate as many single page bo to try to starve the kernel * memory zone (below highmem)