summaryrefslogtreecommitdiff
path: root/shadow.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 /shadow.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 'shadow.c')
-rw-r--r--shadow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shadow.c b/shadow.c
index f928eaa..b7b10a6 100644
--- a/shadow.c
+++ b/shadow.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE // for crypt
#include <pwd.h>
#include <shadow.h>
#include <stdbool.h>