add errno.h to fix compile errors on other devices

Change-Id: I84196fb1358264b216b8505b990ae5a0406aa957