Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0A845C38A02 for ; Sat, 29 Oct 2022 11:37:46 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4E355852; Sat, 29 Oct 2022 13:36:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4E355852 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1667043464; bh=OOLnL/nFHcH+QaTbHVtCqkJWuPEJ8VXNPUa1qNR1tIA=; h=From:To:In-Reply-To:References:Subject:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=nixkjqp43aCrqO5sarQrtUWMsjgDqI4ul+Y7XlnIxp76hsCBmUP2X8NlwEDEz/OS5 8KS/EBhPzJDhhwUibyDO/jwdDo/01MHFu/1DirMDP7MsB5KF5USW6BDAZz5ntzsWY8 P3bogzo9Sbm+j13LdRg7BIQu1k3SZR5poimhHIcM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id CEB97F804CB; Sat, 29 Oct 2022 13:36:53 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A2623F804CC; Sat, 29 Oct 2022 13:36:51 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (gate.perex.cz [77.48.224.242]) by alsa1.perex.cz (Postfix) with ESMTP id 94A07F80095 for ; Sat, 29 Oct 2022 13:36:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 94A07F80095 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub pull_request - opened To: alsa-devel@alsa-project.org In-Reply-To: <1667043405011606932-webhooks-bot@alsa-project.org> References: <1667043405011606932-webhooks-bot@alsa-project.org> Subject: wave: add missing header inclusion Message-Id: <20221029113651.A2623F804CC@alsa1.perex.cz> Date: Sat, 29 Oct 2022 13:36:51 +0200 (CEST) X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" alsa-project/tinycompress pull request #19 was opened from jolivain: When compiling tinycompress with some libc other than glibc (e.g. musl libc), compilation fails with the following error: In file included from wave.c:11:0: /path/to/gcc/sysroot/usr/include/sound/asound.h:404:18: error: field 'trigger_tstamp' has incomplete type struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */ [...] According to POSIX, `struct timespec` is defined in ``. See: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html This patch fixes this build failure by including `` prior ``. Note: the github master branch is currently not including the tag 1.2.8, which is why my pull-request is also showing commit 750ebbe. Request URL : https://github.com/alsa-project/tinycompress/pull/19 Patch URL : https://github.com/alsa-project/tinycompress/pull/19.patch Repository URL: https://github.com/alsa-project/tinycompress