Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Ports
xf86-video-intel
u_sna-fix-missing-includes-for-fstat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_sna-fix-missing-includes-for-fstat.patch of Package xf86-video-intel
From 8bbf3c3acc5b93f579d7dde77dd1fa27d870cf3b Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger <dimstar@opensuse.org> Date: Sun, 2 Aug 2015 11:39:20 +0200 Subject: [PATCH] sna: fix missing includes for fstat In order for fstat to be usable, sys/stat.h needs to be included or we might end up in a build failure like: sna_driver.c: In function 'sna_handle_uevents': sna_driver.c:799:6: error: implicit declaration of function 'fstat' [-Werror=implicit-function-declaration] --- src/sna/sna_driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c index 6db129f..f8231aa 100644 --- a/src/sna/sna_driver.c +++ b/src/sna/sna_driver.c @@ -67,6 +67,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include <sys/ioctl.h> #include <sys/fcntl.h> #include <sys/poll.h> +#include <sys/stat.h> #include "i915_drm.h" #ifdef HAVE_VALGRIND -- 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