Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
libdrm
libdrm-implicit-defs.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libdrm-implicit-defs.diff of Package libdrm
From: Jan Engelhardt <jengelh@medozas.de> 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 <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)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor