Fix compile error on Linux in socket-linux.c

Include string.h and errno.h