Projects
home:pandora:RobinOS23
gpm
_service:download_src_package:0019-fix-building...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:0019-fix-building-w-newer-glibc.patch of Package gpm
From b350aee4ea5785a75cb6ad770f6b768c506ebb70 Mon Sep 17 00:00:00 2001 From: Mike Frysinger <vapier@gentoo.org> Date: Mon, 14 Mar 2016 15:39:54 -0400 Subject: [PATCH 19/28] fix building w/newer glibc Linux C libraries are looking to disentangle sysmacros.h from the sys/types.h include, so make sure we pull in the header when it is found. --- src/daemon/open_console.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/daemon/open_console.c b/src/daemon/open_console.c index 4d6c0af..6dd43e6 100644 --- a/src/daemon/open_console.c +++ b/src/daemon/open_console.c @@ -24,6 +24,10 @@ #include <sys/types.h> /* major() */ #include <sys/ioctl.h> /* ioctl */ +#ifdef HAVE_SYS_SYSMACROS_H +#include <sys/sysmacros.h> /* major() w/newer glibc */ +#endif + /* Linux specific (to be outsourced in gpm2 */ #include <linux/serial.h> /* for serial console check */ #include <asm/ioctls.h> /* for serial console check */ -- 2.19.1.6.gb485710b
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2