From 2445b97a10b0c250375242b2d6e695d30da3214c Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 16 May 2026 08:57:54 -0400 Subject: [PATCH] build fix with hints file linux.500 and musl=1 This fix was suggested by @PPN-SD in the comments on GitHub issue https://github.com/NetHack/NetHack/issues/1530#issuecomment-4466027729 Resolves #1530 --- sys/unix/hints/linux.500 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/unix/hints/linux.500 b/sys/unix/hints/linux.500 index 05cb8c956..d4b095e25 100755 --- a/sys/unix/hints/linux.500 +++ b/sys/unix/hints/linux.500 @@ -197,7 +197,10 @@ ifeq "$(CCISCLANG)" "1" # clang-specific ends else # gcc-specific starts +ifndef MUSL +# __sighandler_t does not exist in musl LIBCFLAGS+=-DSIG_RET_TYPE=__sighandler_t +endif # gcc-specific ends endif