gcc -g -O2 -Wall -I. -I../../../../../include -I./smbval -I../../../../../include -c -o ntlm_auth.o ntlm_auth.c ntlm_auth.c: In function `send_bh_or_ld': ntlm_auth.c:111: invalid use of void expression ntlm_auth.c: In function `manage_request': ntlm_auth.c:275: `errno' undeclared (first use in this function) ntlm_auth.c:275: (Each undeclared identifier is reported only once ntlm_auth.c:275: for each function it appears in.) ntlm_auth.c:506: warning: implicit declaration of function `sleep' ntlm_auth.c: In function `main': ntlm_auth.c:545: warning: implicit declaration of function `getpid' make: *** [ntlm_auth.o] Error 1