* update to 4.11.4 (python3 version) * re-enable AD-DC option * add 'samba_nice' UCI option via "config procd 'extra'" * restructure buildsteps (don't rely on waf --targets logic) * move quota option into VFS * move ACL option into AC-DC * add more admin-tools * use rpath_install for libs * fix rpath + rstrip extra: * add rpcsvc-proto package _(don't rely on nfs-utils/host for headers, rpcgen anymore)_ * add libasn1 host build _(samba4 is looking for the bins)_ Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
19 lines
470 B
Diff
19 lines
470 B
Diff
diff --git a/nsswitch/wins.c b/nsswitch/wins.c
|
|
index dccb6dd..bb24acb 100644
|
|
--- a/nsswitch/wins.c
|
|
+++ b/nsswitch/wins.c
|
|
@@ -39,6 +39,14 @@ static pthread_mutex_t wins_nss_mutex = PTHREAD_MUTEX_INITIALIZER;
|
|
#define INADDRSZ 4
|
|
#endif
|
|
|
|
+#ifndef NETDB_INTERNAL
|
|
+#define NETDB_INTERNAL -1
|
|
+#endif
|
|
+
|
|
+#ifndef NETDB_SUCCESS
|
|
+#define NETDB_SUCCESS 0
|
|
+#endif
|
|
+
|
|
NSS_STATUS _nss_wins_gethostbyname_r(const char *hostname,
|
|
struct hostent *he,
|
|
char *buffer,
|