[alsa-devel] [PATCH] pcm: 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>.
Signed-off-by: Shengjiu Wang shengjiu.wang@freescale.com --- src/pcm/pcm_local.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/pcm/pcm_local.h b/src/pcm/pcm_local.h index 2206afe..80bbe59 100644 --- a/src/pcm/pcm_local.h +++ b/src/pcm/pcm_local.h @@ -24,6 +24,7 @@ #include <stdlib.h> #include <limits.h> #include <sys/uio.h> +#include <time.h> #include <sys/time.h>
#define _snd_mask sndrv_mask
At Wed, 23 Jul 2014 15:09:58 +0800, Shengjiu Wang wrote:
CLOCK_MONITONIC is defined in <bits/time.h>, add <time.h> before <sys/time.h>.
Signed-off-by: Shengjiu Wang shengjiu.wang@freescale.com
Thanks, applied.
Takashi
src/pcm/pcm_local.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/pcm/pcm_local.h b/src/pcm/pcm_local.h index 2206afe..80bbe59 100644 --- a/src/pcm/pcm_local.h +++ b/src/pcm/pcm_local.h @@ -24,6 +24,7 @@ #include <stdlib.h> #include <limits.h> #include <sys/uio.h> +#include <time.h> #include <sys/time.h>
#define _snd_mask sndrv_mask
1.7.9.5
participants (2)
-
Shengjiu Wang
-
Takashi Iwai