Thanks. It's in master now. Cheers, Alex
On Sun, Aug 6, 2023 at 8:58 PM Brahmajit Das <brahmajit....@gmail.com> wrote: > First discovered on gentoo musl+llvm profile. The chmod function comes > from the header file sys/stat.h which was not included in the source > file display.c, and thus the error. This patch should fix the build > error. > > Bug: https://bugs.gentoo.org/894562 > Signed-off-by: Brahmajit Das <brahmajit....@gmail.com> > --- > src/display.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/display.c b/src/display.c > index 0ec6c33..4a1679a 100644 > --- a/src/display.c > +++ b/src/display.c > @@ -31,6 +31,7 @@ > #include "display.h" > > #include <sys/types.h> > +#include <sys/stat.h> > #include <signal.h> > #include <fcntl.h> > #include <poll.h> > -- > 2.41.0 > > >