commit e992efc8fbdedfc493236e93258800efe8636942 parent 0a3ed68d2500c2989545b3bf0af5ebc0b50bec7a Author: sin <sin@2f30.org> Date: Mon, 2 Jun 2014 14:55:21 +0100 Remember to #define _XOPEN_SOURCE for crypt() Diffstat:
M | su.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/su.c b/su.c @@ -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>