Windows needs errno.h

Conflicts:
	src/sgherm.c