--- a/hw/9pfs/9p.c.orig 2016-12-21 15:53:59.997900753 +0100
+++ b/hw/9pfs/9p.c 2016-12-21 15:54:03.006935717 +0100
@@ -11,6 +11,7 @@
*
*/
+#include <linux/limits.h>
#include "qemu/osdep.h"
#include <glib/gprintf.h>
#include "hw/virtio/virtio.h"