Mail archive

Re: [alpine-user] missing header sys/queue.h

From: Riccardo Mottola <>
Date: Fri, 8 Mar 2019 14:27:26 +0100

Hi Natanael & Chloe,

Chloe Kudryavtsev wrote:
> BLOCK_SIZE is canonically defined in linux/fs.h as (1 <<
> 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

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,

Received on Fri Mar 08 2019 - 14:27:26 UTC