void-packages/srcpkgs/libasr/patches/netdb_success.patch

12 lines
197 B
Diff

--- 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 */