I'm trying to use the crypt()
method included in the GNU C library crypt. I've looked at these similar questions, 1, 2, 3 but couldn't get any of the solutions offered to work.
I'm simply including these two things
#include <unistd.h>
#include <crypt.h>
and the compiler is telling me
hashtable.h:7:19: error: crypt.h: No such file or directory
make: *** [pass.x] Error 1
How can I get the compiler to recognize crypt.h?