Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
alsa
0013-include-global.h-don-t-define-timeval-and-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0013-include-global.h-don-t-define-timeval-and-timespec-s.patch of Package alsa
From 7d06b3ed9fda0220c2863ee20acd10c32cf313fd Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela <perex@perex.cz> Date: Fri, 8 Nov 2013 12:30:04 +0100 Subject: [PATCH] include/global.h - don't define timeval and timespec structures for !glibc On request from John Spencer <maillist-alsa@barfooze.de> . Signed-off-by: Jaroslav Kysela <perex@perex.cz> --- include/global.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/global.h b/include/global.h index 3e3680fb698c..16a26dc83518 100644 --- a/include/global.h +++ b/include/global.h @@ -133,6 +133,7 @@ int snd_shm_area_destroy(struct snd_shm_area *area); int snd_user_file(const char *file, char **result); +#ifdef __GLIBC__ #if !defined(_POSIX_C_SOURCE) && !defined(_POSIX_SOURCE) struct timeval { time_t tv_sec; /* seconds */ @@ -144,6 +145,7 @@ struct timespec { long tv_nsec; /* nanoseconds */ }; #endif +#endif /** Timestamp */ typedef struct timeval snd_timestamp_t; -- 1.8.4.3
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