add NO_ADDRESS macro to netdb.h as an alias for NO_DATA
[musl] / include / netdb.h
index 2dd799b..dfc70e2 100644 (file)
@@ -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)