projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76a3aea
)
include/uapi/sound/asound.h: include stdlib.h in userspace
author
Mikko Rapeli
<mikko.rapeli@iki.fi>
Mon, 16 Feb 2015 23:05:38 +0000
(
00:05
+0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 17 Feb 2015 06:43:54 +0000
(07:43 +0100)
Fixes compiler errors like:
error: field ‘trigger_tstamp’ has incomplete type
error: invalid application of ‘sizeof’ to incomplete t
ype ‘struct timespec’
Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/asound.h
patch
|
blob
|
blame
|
history
diff --git
a/include/uapi/sound/asound.h
b/include/uapi/sound/asound.h
index 1f23cd635957846dd6fbb683c1a525cc51b06179..1fe3f4f3d6969915cf08166a6bb0cc553f16e777 100644
(file)
--- a/
include/uapi/sound/asound.h
+++ b/
include/uapi/sound/asound.h
@@
-25,6
+25,9
@@
#include <linux/types.h>
+#ifndef __KERNEL__
+#include <stdlib.h>
+#endif
/*
* protocol version