aboutsummaryrefslogtreecommitdiffstats
path: root/main/musl/1004-add-NO_ADDRESS-to-alias-as-NO_DATA-like-glibc-does.patch
blob: 30a4d1e688f3c3536424b723a49a18648c28e477 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From b6d93b2791665581ca662adb4cdc9554e17f072f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi>
Date: Mon, 13 Jan 2014 13:36:03 +0200
Subject: [PATCH] add NO_ADDRESS to alias as NO_DATA like glibc does

---
 include/netdb.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/netdb.h b/include/netdb.h
index 2dd799b..dfc70e2 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -131,6 +131,7 @@ int *__h_errno_location(void);
 #define TRY_AGAIN      2
 #define NO_RECOVERY    3
 #define NO_DATA        4
+#define NO_ADDRESS     NO_DATA
 #endif
 
 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
-- 
1.8.5.2