Re: [dev] dwm 6.4 compilation error on FreeBsd

2023-02-16 Thread Hiltjo Posthuma
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: > https://git.suckless.org/dwm/commit/712d6639ff8e863560328131

Re: [dev] dwm 6.4 compilation error on FreeBsd

2023-02-16 Thread beastie
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 -DVERSION=\"${VERSION}