Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752972AbbBQGqH (ORCPT ); Tue, 17 Feb 2015 01:46:07 -0500 Received: from cantor2.suse.de ([195.135.220.15]:42960 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751591AbbBQGqE (ORCPT ); Tue, 17 Feb 2015 01:46:04 -0500 Date: Tue, 17 Feb 2015 07:46:02 +0100 Message-ID: From: Takashi Iwai To: Mikko Rapeli Cc: linux-kernel@vger.kernel.org, Jaroslav Kysela , alsa-devel@alsa-project.org, linux-api@vger.kernel.org Subject: Re: [PATCH 24/45] hdspm.h: include stdint.h in userspace In-Reply-To: <1424127948-22484-25-git-send-email-mikko.rapeli@iki.fi> References: <1424127948-22484-1-git-send-email-mikko.rapeli@iki.fi> <1424127948-22484-25-git-send-email-mikko.rapeli@iki.fi> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.4 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1077 Lines: 43 At Tue, 17 Feb 2015 00:05:27 +0100, Mikko Rapeli wrote: > > Fixes compilation error: > > sound/hdspm.h:43:2: error: unknown type name ‘uint32_t’ > > Signed-off-by: Mikko Rapeli Applied for 3.21, thanks. Takashi > --- > include/uapi/sound/hdspm.h | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/include/uapi/sound/hdspm.h b/include/uapi/sound/hdspm.h > index d956c35..f799828 100644 > --- a/include/uapi/sound/hdspm.h > +++ b/include/uapi/sound/hdspm.h > @@ -20,6 +20,12 @@ > * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > */ > > +#ifdef __KERNEL__ > +#include > +#else > +#include > +#endif > + > /* Maximum channels is 64 even on 56Mode you have 64playbacks to matrix */ > #define HDSPM_MAX_CHANNELS 64 > > -- > 2.1.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/