eb91793
--- xen-4.7.0/tools/blktap2/control/tap-ctl-allocate.c.orig	2016-06-20 11:38:15.000000000 +0100
eb91793
+++ xen-4.7.0/tools/blktap2/control/tap-ctl-allocate.c	2016-09-02 10:07:55.964084808 +0100
eb91793
@@ -36,6 +36,7 @@
eb91793
 #include <sys/stat.h>
eb91793
 #include <sys/types.h>
eb91793
 #include <sys/ioctl.h>
eb91793
+#include <sys/sysmacros.h>
eb91793
 #include <linux/major.h>
eb91793
 
eb91793
 #include "tap-ctl.h"
eb91793
--- xen-4.7.0/tools/libxl/libxl_internal.h.orig	2016-06-20 11:38:15.000000000 +0100
eb91793
+++ xen-4.7.0/tools/libxl/libxl_internal.h	2016-09-02 17:35:24.853783711 +0100
eb91793
@@ -47,6 +47,7 @@
eb91793
 #include <sys/socket.h>
eb91793
 #include <sys/file.h>
eb91793
 #include <sys/ioctl.h>
eb91793
+#include <sys/sysmacros.h>
eb91793
 
eb91793
 #include <xenevtchn.h>
eb91793
 #include <xenstore.h>