]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/blob
06cdcb98943faab71307512cf255b24346ea474e
[thirdparty/openembedded/openembedded-core.git] /
1 From f6b879e7cc87d83343f5004369146881d1d1e335 Mon Sep 17 00:00:00 2001
2 From: Shengjiu Wang <shengjiu.wang@freescale.com>
3 Date: Wed, 23 Jul 2014 15:09:58 +0800
4 Subject: [PATCH] pcm: pcm_local.h: include <time.h> to enable CLOCK_MONOTONIC
5
6 CLOCK_MONITONIC is defined in <bits/time.h>, add <time.h> before <sys/time.h>.
7
8 Commit f6b879e7cc87d83343f5004369146881d1d1e335 in master branch
9
10 Upstream Status: Backported
11
12 Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
13 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 ---
15 src/pcm/pcm_local.h | 1 +
16 1 file changed, 1 insertion(+)
17
18 diff --git a/src/pcm/pcm_local.h b/src/pcm/pcm_local.h
19 index 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 --
31 1.7.9.5
32