From: Takashi Iwai Subject: Re: [PATCH] pcm.h: include sys/types.h, necessary for u_int_XX types Date: Thu, 10 Oct 2013 16:50:26 +0200 Message-ID: References: <1381411060-15484-1-git-send-email-maillist-alsa@barfooze.de> <5256AD4B.3030009@barfooze.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id C2B852616E1 for ; Thu, 10 Oct 2013 16:47:41 +0200 (CEST) In-Reply-To: <5256AD4B.3030009@barfooze.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: John Spencer Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 10 Oct 2013 15:36:11 +0200, John Spencer wrote: > > On 10/10/2013 03:35 PM, Takashi Iwai wrote: > > At Thu, 10 Oct 2013 15:17:40 +0200, > > John Spencer wrote: > >> > >> fixes compilation on musl libc. > > > > But sys/types.h is already included in asoundlib.h... > > maybe, but right now this header is not usable standalone as-is, and > something during build includes it without including asoundlib.h: > > In file included from ../../include/local.h:141:0, > from control_local.h:22, > from hcontrol.c:51: > ../../include/pcm.h:1051:1: error: unknown type name 'u_int8_t' > > full build log attached. In that case, better to fix include/local.h, add sys/types.h there. Takashi