blob: eb06866f46bbe1ace0690eba65fb5e8fdde9b739 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001Index: samba-4.6.2/nsswitch/wins.c
2===================================================================
3--- samba-4.6.2.orig/nsswitch/wins.c
4+++ samba-4.6.2/nsswitch/wins.c
5@@ -39,6 +39,14 @@ static pthread_mutex_t wins_nss_mutex =
6 #define INADDRSZ 4
7 #endif
8
9+#ifndef NETDB_INTERNAL
10+#define NETDB_INTERNAL (-1)
11+#endif
12+
13+#ifndef NETDB_SUCCESS
14+#define NETDB_SUCCESS 0
15+#endif
16+
17 NSS_STATUS _nss_wins_gethostbyname_r(const char *hostname,
18 struct hostent *he,
19 char *buffer,