Portability

- Included the wrong errno.h (thanks to natano).