Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Rings:1-MinimalX
xf86-video-intel
u_uxa-fix-missing-includes-for-fstat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_uxa-fix-missing-includes-for-fstat.patch of Package xf86-video-intel
From 7eac1b87bccdd0494fd8161fa3b7da0e169ab8d4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger <dimstar@opensuse.org> Date: Sun, 2 Aug 2015 11:46:54 +0200 Subject: [PATCH] uxa: fix missing includes for fstat Without these headers, we can run into build errors like: intel_driver.c: In function 'I830HandleUEvents': intel_driver.c:745:14: error: storage size of 's' isn't known intel_video.c:104:39: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {XvSettable | XvGettable, -128, 127, "XV_BRIGHTNESS"}, ^ intel_driver.c:753:6: error: implicit declaration of function 'fstat' [-Werror=implicit-function-declaration] --- src/uxa/intel_driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/uxa/intel_driver.c b/src/uxa/intel_driver.c index 8e685bd..007e1a3 100644 --- a/src/uxa/intel_driver.c +++ b/src/uxa/intel_driver.c @@ -44,6 +44,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include <stdlib.h> #include <stdio.h> #include <errno.h> +#include <sys/stat.h> +#include <sys/types.h> #include "xorg-server.h" #include "xf86.h" -- 2.4.5
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