mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 20:29:42 +00:00
ubi_tools: add workaround for bad kernel headers. Closes 4838
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
65457625a7
commit
7fe1e3f161
@ -60,6 +60,10 @@
|
||||
//kbuild:lib-$(CONFIG_UBIUPDATEVOL) += ubi_tools.o
|
||||
|
||||
#include "libbb.h"
|
||||
/* Some versions of kernel have broken headers, need this hack */
|
||||
#ifndef __packed
|
||||
# define __packed __attribute__((packed))
|
||||
#endif
|
||||
#include <mtd/ubi-user.h>
|
||||
|
||||
#define OPTION_M (1 << 0)
|
||||
|
Loading…
Reference in New Issue
Block a user