[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Alpine: strscpy.c:25:1: error: unknown type name 'ssize_t'; did you
From: |
Tianon Gravi |
Subject: |
Re: Alpine: strscpy.c:25:1: error: unknown type name 'ssize_t'; did you mean 'size_t'? |
Date: |
Thu, 4 May 2023 12:33:08 -0700 |
On Wed, 3 May 2023 at 17:57, Emanuele Torre <torreemanuele6@gmail.com> wrote:
> On Wed, May 03, 2023 at 04:56:16PM -0700, Tianon Gravi wrote:
> > I'm getting the following error when building the latest "devel"
> > (23935dbe8513437e69ca14d6b0890067dddceba3) on Alpine Linux 3.17:
>
> Techincally ssize_t is not part of standard C, and, according to
> POSIX, it should be defined in <unistd.h> that that file is not
> including.
> Does this patch solve your problem?
Confirmed, this patch fixes the build! 🙇
♥,
- Tianon
4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4