]> git.alsa-project.org Git - alsa-lib.git/commitdiff
pcm: pcm_local.h: include <time.h> to enable CLOCK_MONOTONIC
authorShengjiu Wang <shengjiu.wang@freescale.com>
Wed, 23 Jul 2014 07:09:58 +0000 (15:09 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Jul 2014 10:06:49 +0000 (12:06 +0200)
CLOCK_MONITONIC is defined in <bits/time.h>, add <time.h> before
<sys/time.h>.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_local.h

index 2206afe2c4a93c5f89bc1b3f2620f98aaa7466eb..80bbe5973bdb0c8c0cafeea12df1e63a20cb5cf7 100644 (file)
@@ -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