When I try to compile with
clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wshadow crack.c -lcrypt -lcs50 -lm -o crack
I get
crack.c: error: implicit declaration of function '
crypt
' is invalid in C99 [-Werror
,-Wimplicit-function-declaration
]
I have in my source file, per the docs,
#define _XOPEN_SOURCE
#include <unistd.h>