Re: [dev] dwm 6.4 compilation error on FreeBsd

From: beastie <pufferfish_AT_riseup.net>
Date: Fri, 17 Feb 2023 16:00:55 +1300

On Thu, 16 Feb 2023 12:23:00 +0600
NRK <nrk_AT_disroot.org> 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 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
> +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L
> -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
>
> - NRK
>

Yes, this fixes the issue, thank you for your support :D

- Beastie <3
Received on Fri Feb 17 2023 - 04:00:55 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 17 2023 - 04:12:07 CET