summaryrefslogtreecommitdiff
path: root/pam.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-11-25 12:12:48 +0100
committeremersion <contact@emersion.fr>2018-11-25 17:19:43 +0100
commit8191c2147b83ebefd9f45be43d53db7d7fc14dc5 (patch)
tree2c114031d566fb367660aef8b17921bed746621b /pam.c
parentb0b20a8e1f19f303ffc77f624725cc97aaebb8bc (diff)
Replace _XOPEN_SOURCE with _POSIX_C_SOURCE
And make sure we don't define both in the same source file.
Diffstat (limited to 'pam.c')
-rw-r--r--pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pam.c b/pam.c
index cac95a8..b90d9e8 100644
--- a/pam.c
+++ b/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>