mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
26 lines
602 B
Diff
26 lines
602 B
Diff
From 37b6c29ad32692aa0fea5a65492ddbea0b4a8b5d Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Curran <jonathan@curran.in>
|
|
Date: Wed, 9 Sep 2015 17:11:55 +0000
|
|
Subject: [PATCH 1/3] Fix NETDB_SUCCESS value
|
|
|
|
---
|
|
openbsd-compat/defines.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/openbsd-compat/defines.h b/openbsd-compat/defines.h
|
|
index da7a42c..9f50ece 100644
|
|
--- a/openbsd-compat/defines.h
|
|
+++ b/openbsd-compat/defines.h
|
|
@@ -823,7 +823,7 @@ struct winsize {
|
|
#endif
|
|
|
|
#ifndef NETDB_SUCCESS
|
|
-# define NETDB_SUCCESS -1
|
|
+# define NETDB_SUCCESS 0
|
|
#endif
|
|
|
|
/* end of chl */
|
|
--
|
|
2.11.1
|
|
|