8fa851f
diff -up nfs-utils-1.2.8/utils/statd/sm-notify.c.orig nfs-utils-1.2.8/utils/statd/sm-notify.c
8fa851f
--- nfs-utils-1.2.8/utils/statd/sm-notify.c.orig	2013-04-22 12:47:20.000000000 -0400
8fa851f
+++ nfs-utils-1.2.8/utils/statd/sm-notify.c	2013-09-18 15:36:42.373803000 -0400
1560f8a
@@ -28,6 +28,9 @@
1560f8a
 #include <netdb.h>
1560f8a
 #include <errno.h>
1560f8a
 #include <grp.h>
1560f8a
+#include <netinet/in.h>
1560f8a
+#include <arpa/nameser.h>
1560f8a
+#include <resolv.h>
1560f8a
 
1560f8a
 #include "sockaddr.h"
1560f8a
 #include "xlog.h"
8fa851f
@@ -85,6 +88,7 @@ smn_lookup(const char *name)
1560f8a
 	};
1560f8a
 	int error;
1560f8a
 
1560f8a
+	res_init();
1560f8a
 	error = getaddrinfo(name, NULL, &hint, &ai;;
1560f8a
 	if (error != 0) {
1560f8a
 		xlog(D_GENERAL, "getaddrinfo(3): %s", gai_strerror(error));