--- openssh-6.5p1.org/sshd.c
+++ openssh-6.5p1/sshd.c
@@ -44,6 +44,7 @@
 
 #include "includes.h"
 
+#include <sys/param.h> /* MAXHOSTNAMELEN */
 #include <sys/types.h>
 #include <sys/ioctl.h>
 #include <sys/socket.h>
