--- mtd-utils-2.0.0.orig/include/mtd/ubi-media.h	2016-07-12 14:16:45.000000000 +0200
+++ mtd-utils-2.0.0/include/mtd/ubi-media.h	2017-04-25 21:14:34.000000000 +0200
@@ -30,7 +30,7 @@
 #ifndef __UBI_MEDIA_H__
 #define __UBI_MEDIA_H__
 
-#include <asm/byteorder.h>
+#include <linux/types.h>
 
 /* The version of UBI images supported by this implementation */
 #define UBI_VERSION 1
