X-Original-To: alpine-user@lists.alpinelinux.org Received: from libero.it (smtp-35.italiaonline.it [213.209.10.35]) by lists.alpinelinux.org (Postfix) with ESMTP id 56C4DF831B6 for ; Fri, 8 Mar 2019 13:27:28 +0000 (UTC) Received: from DEV21 ([46.21.177.226]) by smtp-35.iol.local with ESMTPA id 2FX4huf87Ye7j2FX5hGOJr; Fri, 08 Mar 2019 14:27:27 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2014; t=1552051647; bh=oATMVsM99C+lNlBEloYXeci13Q1fl9ClR4PXBKh76Dg=; h=Subject:To:References:From:Date:In-Reply-To; b=mUeVgk6SnEaZVSA/mUW1m3nL0x5y1zEuJdIrMus9CgsOjddukHBFECYs03lKE+sFG 3yF3YvpjHgzeJE80a8iItKERtrAyWPOw0mWt8ax6DK/d9MmsaAL55xwXiBdesM1zF1 s9/VhQSiXhRj9G3vCV0k9KsUGaN5IMY0DzNW75TqcXxbLBbgzYja0GuHQHv2mAg4he I/7XCgiBCHXZd9hKjXQdlhp4giVzL2DLP41mmGoUOkmiLzcpnezzTz/z2AxsiKHQIS /nY+OwCkXUenEwWWVQjz3D2+Lz1hy9uuod6UJ4QVDXC7/m68sxkM7+NIY5cgZxm0+/ 5nOu1/qMSLHrQ== X-CNFS-Analysis: v=2.3 cv=ea/sgIMH c=1 sm=1 tr=0 a=gfSuWC0KZl1BcmXOoRnORQ==:117 a=gfSuWC0KZl1BcmXOoRnORQ==:17 a=IkcTkHD0fZMA:10 a=pQs5aej7AAAA:8 a=p69vzcrWyKfAK0C6pC8A:9 a=QEXdDO2ut3YA:10 Subject: Re: [alpine-user] missing header sys/queue.h To: alpine-user@lists.alpinelinux.org References: <18833665-ea51-febd-5695-5098b5986135@libero.it> <69dc00e5-7e32-1a6a-0cf8-71bf675c15bd@libero.it> <8bcf5e42-3654-0454-19e7-5d76bba0b925@toastin.space> <8add8700-d296-5806-5a41-c768af81d4b9@toastin.space> From: Riccardo Mottola Message-ID: Date: Fri, 8 Mar 2019 14:27:26 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: <8add8700-d296-5806-5a41-c768af81d4b9@toastin.space> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfNpaHCOcGgEglhVwr+UHQaPYM9oYblZix3EDzA1PTqfa1ygwYKvFOLD0cRVVyGfqzZaoy0tAF+ZfSt88EEsiZYgOCjutiTDaj079318a8EM2Aedbiq8T 2+zQkS4T79X/b5OAkF20t/7odH/Whi21d1CEicespaR+Azl5UG8UQLJxMMssMjvhwOmpfDSYX4lyJw== Hi Natanael & Chloe, Chloe Kudryavtsev wrote: > BLOCK_SIZE is canonically defined in linux/fs.h as (1 << > BLOCK_SIZE_BITS). > > Glibc coincidentally redefines it to a hardcoded 1024 in sys/mount.h, > but this is a glibc-specific extension. > > Please make sure your project includes the correct header. > > Also, do note that searching for "musl BLOCK_SIZE" (at least from > where I'm at) gives relevant results in the top two slots (I haven't > checked much lower). thanks for the pointers, I found actually this discussion upstream https://bugzilla.mozilla.org/show_bug.cgi?id=1152176 which shows some discussion if fs.h or mount.h is the better option. At the end, FF opted for the solution to conditionally hard-code 1024. I will see if this fix solves the issue. While ArcticFox is a fork and technically I can fix it differently, I prefer, when possible to have similar soruces, since it facilitates maintenance. I will test and let you know! Happy hacking, Riccardo --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---