From 696c448f8a6fdf3d56733e69ca8d7ddd04c908de Mon Sep 17 00:00:00 2001 From: Dima Krasner Date: Sat, 5 Mar 2016 19:50:02 +0200 Subject: include time.h, to prevent use of struct timespec before definition In some old (2.6.32.x) kernel headers, asound.h does not include linux time.h when __KERNEL__ is undefined, which may break userspace. The build failures caused by this are similar to those fixed by c8333f8c. Signed-off-by: Dima Krasner --- mixer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mixer.c') diff --git a/mixer.c b/mixer.c index 7c5c5dc..9dd6e68 100644 --- a/mixer.c +++ b/mixer.c @@ -34,6 +34,7 @@ #include #include #include +#include #include -- cgit v1.2.3