add errno definition