--- openbsd-compat/defines.h.orig +++ openbsd-compat/defines.h @@ -823,7 +823,7 @@ #endif #ifndef NETDB_SUCCESS -# define NETDB_SUCCESS -1 +# define NETDB_SUCCESS 0 #endif /* end of chl */