remove warnings
include errno to remove shitty compile error