Blame SOURCES/nfs-utils-1.2.3-sm-notify-res_init.patch

d80804
diff -up nfs-utils-1.2.3/utils/statd/sm-notify.c.orig nfs-utils-1.2.3/utils/statd/sm-notify.c
d80804
--- nfs-utils-1.2.3/utils/statd/sm-notify.c.orig	2010-09-28 08:24:16.000000000 -0400
d80804
+++ nfs-utils-1.2.3/utils/statd/sm-notify.c	2010-10-15 16:44:43.487119601 -0400
d80804
@@ -28,6 +28,9 @@
d80804
 #include <netdb.h>
d80804
 #include <errno.h>
d80804
 #include <grp.h>
d80804
+#include <netinet/in.h>
d80804
+#include <arpa/nameser.h>
d80804
+#include <resolv.h>
d80804
 
d80804
 #include "sockaddr.h"
d80804
 #include "xlog.h"
d80804
@@ -84,6 +87,7 @@ smn_lookup(const char *name)
d80804
 	};
d80804
 	int error;
d80804
 
d80804
+	res_init();
d80804
 	error = getaddrinfo(name, NULL, &hint, &ai;;
d80804
 	if (error != 0) {
d80804
 		xlog(D_GENERAL, "getaddrinfo(3): %s", gai_strerror(error));