aboutsummaryrefslogtreecommitdiff
path: root/swaylock/pam.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaylock/pam.c')
-rw-r--r--swaylock/pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaylock/pam.c b/swaylock/pam.c
index cac95a85..b90d9e87 100644
--- a/swaylock/pam.c
+++ b/swaylock/pam.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 500
+#define _POSIX_C_SOURCE 200809L
#include <pwd.h>
#include <security/pam_appl.h>
#include <stdbool.h>