summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-lib
diff options
context:
space:
mode:
authorWang Zidan <b50113@freescale.com>2014-08-04 11:21:11 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-06 10:03:21 +0100
commitce7b1b07f76b90adc2aa0d9334a6866b3e80c0be (patch)
treec25098d0858a23ac53bbbfc7cd986d07efa8c0af /meta/recipes-multimedia/alsa/alsa-lib
parenta06c9340e99df56ce79f03b56a25a694997daefc (diff)
downloadpoky-ce7b1b07f76b90adc2aa0d9334a6866b3e80c0be.tar.gz
alsa-lib: pcm_local.h: include <time.h> to enable CLOCK_MONOTONIC
CLOCK_MONITONIC is defined in <bits/time.h>, add <time.h> before <sys/time.h>. (From OE-Core rev: 77b4d82687e7d65e8c6619c36d337b1d5763fc36) Signed-off-by: Wang Zidan <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-lib')
-rwxr-xr-xmeta/recipes-multimedia/alsa/alsa-lib/0001-pcm-pcm_local.h-include-time.h-to-enable-CLOCK_MONOT.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-lib/0001-pcm-pcm_local.h-include-time.h-to-enable-CLOCK_MONOT.patch b/meta/recipes-multimedia/alsa/alsa-lib/0001-pcm-pcm_local.h-include-time.h-to-enable-CLOCK_MONOT.patch
new file mode 100755
index 0000000000..06cdcb9894
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-lib/0001-pcm-pcm_local.h-include-time.h-to-enable-CLOCK_MONOT.patch
@@ -0,0 +1,32 @@
1From f6b879e7cc87d83343f5004369146881d1d1e335 Mon Sep 17 00:00:00 2001
2From: Shengjiu Wang <shengjiu.wang@freescale.com>
3Date: Wed, 23 Jul 2014 15:09:58 +0800
4Subject: [PATCH] pcm: pcm_local.h: include <time.h> to enable CLOCK_MONOTONIC
5
6CLOCK_MONITONIC is defined in <bits/time.h>, add <time.h> before <sys/time.h>.
7
8Commit f6b879e7cc87d83343f5004369146881d1d1e335 in master branch
9
10Upstream Status: Backported
11
12Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
13Signed-off-by: Takashi Iwai <tiwai@suse.de>
14---
15 src/pcm/pcm_local.h | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/src/pcm/pcm_local.h b/src/pcm/pcm_local.h
19index 2206afe..80bbe59 100644
20--- a/src/pcm/pcm_local.h
21+++ b/src/pcm/pcm_local.h
22@@ -24,6 +24,7 @@
23 #include <stdlib.h>
24 #include <limits.h>
25 #include <sys/uio.h>
26+#include <time.h>
27 #include <sys/time.h>
28
29 #define _snd_mask sndrv_mask
30--
311.7.9.5
32