Undefined reference to sleep, even though I included unistd.h : Trying to use sleep() to pause my program briefly.
Except when i "make" I get an undefined reference to sleep ,even though I include unistd.h at the top.
I'm using linux but all the solutions I found to this problem were for people on Windows.
Any suggestions?
Thanks