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 --- pcm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pcm.c') diff --git a/pcm.c b/pcm.c index 2c1308d..20bb7f0 100644 --- a/pcm.c +++ b/pcm.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3