aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2015-10-12 12:57:09 +0100
committerrofl0r <retnyg@gmx.net>2015-10-12 13:05:09 +0100
commitc8333f8c7a4e4b9549abeef7530b2cd20a18e537 (patch)
tree2b0d3f6e3fdc3d3ef7cd95c8ff4f12ba41b4f8d1
parent33fe27c809e0fa67e14db9fec37c5f2ef849aecb (diff)
asound.h: include <time.h> to get struct timespec prototype
without including it, we get In file included from mixer.c:44:0: include/sound/asound.h:337:18: error: field 'trigger_tstamp' has incomplete type include/sound/asound.h:338:18: error: field 'tstamp' has incomplete type etc.
-rw-r--r--include/sound/asound.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/asound.h b/include/sound/asound.h
index a041628..7c6de81 100644
--- a/include/sound/asound.h
+++ b/include/sound/asound.h
@@ -12,6 +12,7 @@
#ifndef __SOUND_ASOUND_H
#define __SOUND_ASOUND_H
+#include <time.h>
#include <linux/types.h>
#define SNDRV_PROTOCOL_VERSION(major, minor, subminor) (((major)<<16)|((minor)<<8)|(subminor))