aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-07-24 09:55:49 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-07-24 09:56:07 +0200
commit37b6ce35601d90aacb790c8e6907d684b7381292 (patch)
treee9381f992974ccb6a5a43d708fcf18c62bae044c
parent5c32057c421a8faf10c9a12405ea97ef05198fe9 (diff)
downloaddesktop-tools-37b6ce35601d90aacb790c8e6907d684b7381292.tar.gz
desktop-tools-37b6ce35601d90aacb790c8e6907d684b7381292.tar.xz
desktop-tools-37b6ce35601d90aacb790c8e6907d684b7381292.zip
wmstatus: try a bit harder to get openat()
-rw-r--r--wmstatus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wmstatus.c b/wmstatus.c
index 4c91bba..6277c04 100644
--- a/wmstatus.c
+++ b/wmstatus.c
@@ -22,6 +22,7 @@
// openat, dirfd
#define _XOPEN_SOURCE 700
+#define _ATFILE_SOURCE
#define _GNU_SOURCE
#include "config.h"