--- openssh-6.2p1.orig/channels.c	2012-12-02 23:50:55.000000000 +0100
+++ openssh-6.2p1/channels.c	2013-08-20 18:00:56.929029538 +0200
@@ -42,6 +42,7 @@
 #include "includes.h"
 
 #include <sys/types.h>
+#include <sys/param.h>
 #include <sys/ioctl.h>
 #include <sys/un.h>
 #include <sys/socket.h>
