wmstatus: fix an OpenBSD build warning

Note that _GNU_SOURCE is there to imply _DEFAULT_SOURCE, for BYTE_ORDER.
This commit is contained in:
Přemysl Eric Janouch 2023-07-04 07:23:30 +02:00
parent 87e5285622
commit 5c32057c42
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,9 @@
#define LIBERTY_WANT_ASYNC
#define LIBERTY_WANT_PROTO_MPD
#define _GNU_SOURCE // openat
// openat, dirfd
#define _XOPEN_SOURCE 700
#define _GNU_SOURCE
#include "config.h"
#undef PROGRAM_NAME