network: Don't redefine error codes if they already exist in errno.h