--- krb5-1.11.3.orig/src/lib/rpc/bindresvport.c	2013-06-03 23:39:43.000000000 +0200
+++ krb5-1.11.3/src/lib/rpc/bindresvport.c	2013-08-14 14:52:36.000000000 +0200
@@ -37,6 +37,7 @@
 #include <sys/types.h>
 #include <sys/errno.h>
 #include <sys/socket.h>
+#include <netdb.h>
 #include <netinet/in.h>
 #include <gssrpc/rpc.h>
 #include <errno.h>
