Remember to #define _XOPEN_SOURCE for crypt()

This commit is contained in:
sin 2014-06-02 14:55:21 +01:00
parent 0a3ed68d25
commit e992efc8fb

1
su.c
View File

@ -1,4 +1,5 @@
/* See LICENSE file for copyright and license details. */
#define _XOPEN_SOURCE
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>