From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH 35/45] include/uapi/sound/asound.h: include stdlib.h in userspace Date: Tue, 17 Feb 2015 07:46:14 +0100 Message-ID: References: <1424127948-22484-1-git-send-email-mikko.rapeli@iki.fi> <1424127948-22484-36-git-send-email-mikko.rapeli@iki.fi> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1424127948-22484-36-git-send-email-mikko.rapeli@iki.fi> Sender: linux-kernel-owner@vger.kernel.org To: Mikko Rapeli Cc: linux-kernel@vger.kernel.org, Jaroslav Kysela , alsa-devel@alsa-project.org, linux-api@vger.kernel.org List-Id: alsa-devel@alsa-project.org At Tue, 17 Feb 2015 00:05:38 +0100, Mikko Rapeli wrote: >=20 > Fixes compiler errors like: > error: field =E2=80=98trigger_tstamp=E2=80=99 has incomplete type > error: invalid application of =E2=80=98sizeof=E2=80=99 to incomplete = t > ype =E2=80=98struct timespec=E2=80=99 >=20 > Signed-off-by: Mikko Rapeli Applied for 3.21, thanks. Takashi > --- > include/uapi/sound/asound.h | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.= h > index 941d32f..af156b0 100644 > --- a/include/uapi/sound/asound.h > +++ b/include/uapi/sound/asound.h > @@ -25,6 +25,9 @@ > =20 > #include > =20 > +#ifndef __KERNEL__ > +#include > +#endif > =20 > /* > * protocol version > --=20 > 2.1.4 >=20