aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordvdli <70133153+dvdli@users.noreply.github.com>2022-01-13 17:06:10 +0800
committerGitHub <noreply@github.com>2022-01-13 17:06:10 +0800
commitc127110249967e0722d80bb41e33713accdcff8f (patch)
tree8de3a451e60fd1ad11c64598ae7222a70662f26e /src
parentfa1136edcaf3e14b8030187fb7d206807f582dfa (diff)
parentd91e947bda590765e1c791f40e8ffb4135ab1cd3 (diff)
Merge pull request #224 from ffontaine/master
include time.h before asound.h
Diffstat (limited to 'src')
-rw-r--r--src/mixer.c1
-rw-r--r--src/mixer_hw.c1
-rw-r--r--src/pcm_hw.c1
-rw-r--r--src/pcm_plugin.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/mixer.c b/src/mixer.c
index afbc015..029fc84 100644
--- a/src/mixer.c
+++ b/src/mixer.c
@@ -55,6 +55,7 @@
#define __user
#endif
+#include <time.h>
#include <sound/asound.h>
#include <tinyalsa/mixer.h>
diff --git a/src/mixer_hw.c b/src/mixer_hw.c
index da5a390..50e9d07 100644
--- a/src/mixer_hw.c
+++ b/src/mixer_hw.c
@@ -42,6 +42,7 @@
#include <sys/ioctl.h>
#include <linux/ioctl.h>
+#include <time.h>
#include <sound/asound.h>
#include "mixer_io.h"
diff --git a/src/pcm_hw.c b/src/pcm_hw.c
index 5eb53be..2383ae0 100644
--- a/src/pcm_hw.c
+++ b/src/pcm_hw.c
@@ -41,6 +41,7 @@
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <linux/ioctl.h>
+#include <time.h>
#include <sound/asound.h>
#include <tinyalsa/asoundlib.h>
diff --git a/src/pcm_plugin.c b/src/pcm_plugin.c
index 47bf4a5..b6b69aa 100644
--- a/src/pcm_plugin.c
+++ b/src/pcm_plugin.c
@@ -40,6 +40,7 @@
#include <sys/ioctl.h>
#include <linux/ioctl.h>
+#include <time.h>
#include <sound/asound.h>
#include <tinyalsa/asoundlib.h>
#include <tinyalsa/plugin.h>