summaryrefslogtreecommitdiff
path: root/shadow.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2025-03-18 22:23:14 +0100
committerKenny Levinsen <kl@kl.wtf>2025-03-18 22:31:01 +0100
commit0b10244dc09c7108e7046700a4cd0a64dde57380 (patch)
treed3bf6cd4cdb96ac3fec6cd60c12cd420b5263858 /shadow.c
parent3415a7c9c10e6f5dace06cd222edd825e41e771d (diff)
Define _POSIX_C_SOURCE globally
Other Sway projects have switched to this approach.
Diffstat (limited to 'shadow.c')
-rw-r--r--shadow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shadow.c b/shadow.c
index 3399d04..83b0cc0 100644
--- a/shadow.c
+++ b/shadow.c
@@ -1,3 +1,4 @@
+#undef _POSIX_C_SOURCE
#define _XOPEN_SOURCE // for crypt
#include <assert.h>
#include <pwd.h>