diff options
| author | Přemysl Eric Janouch <p@janouch.name> | 2023-07-04 07:23:30 +0200 | 
|---|---|---|
| committer | Přemysl Eric Janouch <p@janouch.name> | 2023-07-04 07:24:24 +0200 | 
| commit | 5c32057c421a8faf10c9a12405ea97ef05198fe9 (patch) | |
| tree | 81d0dd9680be116e79c967e50009476f0b0ecb9b | |
| parent | 87e52856223a0e310b292389ba732b4b8d35e2c8 (diff) | |
| download | desktop-tools-5c32057c421a8faf10c9a12405ea97ef05198fe9.tar.gz desktop-tools-5c32057c421a8faf10c9a12405ea97ef05198fe9.tar.xz desktop-tools-5c32057c421a8faf10c9a12405ea97ef05198fe9.zip | |
wmstatus: fix an OpenBSD build warning
Note that _GNU_SOURCE is there to imply _DEFAULT_SOURCE, for BYTE_ORDER.
| -rw-r--r-- | wmstatus.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| @@ -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 | 
