glibc: install libmvec.so when available
[buildroot-gz.git] / package / tinyalsa / 0002-asound.h-include-time.h-to-get-struct-timespec-proto.patch
blob1b5d43cec5432ff237226c9aaf8fa534067eb9fc
1 From c8333f8c7a4e4b9549abeef7530b2cd20a18e537 Mon Sep 17 00:00:00 2001
2 From: rofl0r <retnyg@gmx.net>
3 Date: Mon, 12 Oct 2015 12:57:09 +0100
4 Subject: [PATCH] asound.h: include <time.h> to get struct timespec prototype
6 without including it, we get
7 In file included from mixer.c:44:0:
8 include/sound/asound.h:337:18: error: field 'trigger_tstamp' has incomplete type
9 include/sound/asound.h:338:18: error: field 'tstamp' has incomplete type
10 etc.
12 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
13 ---
14 Patch status: upstream commit c8333f8c7a4e
16 include/sound/asound.h | 1 +
17 1 file changed, 1 insertion(+)
19 diff --git a/include/sound/asound.h b/include/sound/asound.h
20 index a041628ec28e..7c6de81673f5 100644
21 --- a/include/sound/asound.h
22 +++ b/include/sound/asound.h
23 @@ -12,6 +12,7 @@
24 #ifndef __SOUND_ASOUND_H
25 #define __SOUND_ASOUND_H
27 +#include <time.h>
28 #include <linux/types.h>
30 #define SNDRV_PROTOCOL_VERSION(major, minor, subminor) (((major)<<16)|((minor)<<8)|(subminor))
31 --
32 2.8.1