On Thu, 16 Feb 2023 12:23:00 +0600
NRK wrote:
>
> I think we might need to define `_XOPEN_SOURCE=700L`. Does this fix
> the issue:
>
> diff --git a/config.mk b/config.mk
># flags
> -CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE
> -D_POSIX_C_SOURCE=200809L
On Thu, Feb 16, 2023 at 06:07:02PM +1300, beastie wrote:
> Hello I am experiencing an error when trying to compile the latest
> version of dwm from https://git.suckless.org/dwm,
>
> Here is the commit that I think is causing the issue:
>
> dwm.c:1549:31: error: use of undeclared identifier 'SA_NOCLDWAIT'
> sa.sa_flags = SA_NOCLDSTOP | SA_NOCLDWAIT | SA_RESTART;
> ^
> dwm.c:1549:46: error: use of undeclared identifier 'SA_RESTART'
> sa.sa_flags = SA_NOCLDSTOP | SA_NOCLDWAIT |