--- openssh-6.2p2/includes.h.orig
+++ openssh-6.2p2/includes.h
@@ -21,6 +21,8 @@
 #define _GNU_SOURCE /* activate extra prototypes for glibc */
 
 #include <sys/types.h>
+#include <sys/param.h>
+#include <sys/time.h>
 #include <sys/socket.h> /* For CMSG_* */
 
 #ifdef HAVE_LIMITS_H