Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4bebf709 authored by Mikko Rapeli's avatar Mikko Rapeli Committed by Takashi Iwai
Browse files

include/uapi/sound/asound.h: include stdlib.h in userspace



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: default avatarMikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 76a3aeac
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -25,6 +25,9 @@

#include <linux/types.h>

#ifndef __KERNEL__
#include <stdlib.h>
#endif

/*
 *  protocol version