]> www.infradead.org Git - mtd-utils.git/commitdiff
ubifs-media.h: include "byteorder.h"
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 30 Oct 2014 08:14:20 +0000 (10:14 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 30 Oct 2014 08:14:20 +0000 (10:14 +0200)
... in order to have definitions of things like __le16.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
include/mtd/ubifs-media.h

index fe62d0efc9591c6b6151db1ca0f9a731ab4587e8..a324e90a58d7c5a6bc2ce23f0045825fd22cdd07 100644 (file)
@@ -33,6 +33,8 @@
 #ifndef __UBIFS_MEDIA_H__
 #define __UBIFS_MEDIA_H__
 
+#include <asm/byteorder.h>
+
 /* UBIFS node magic number (must not have the padding byte first or last) */
 #define UBIFS_NODE_MAGIC  0x06101831