diff options
-rw-r--r-- | package/boot/kobs-ng/patches/001-compile.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/boot/kobs-ng/patches/001-compile.patch b/package/boot/kobs-ng/patches/001-compile.patch index 67da93a324..8648dc8b94 100644 --- a/package/boot/kobs-ng/patches/001-compile.patch +++ b/package/boot/kobs-ng/patches/001-compile.patch @@ -10,13 +10,14 @@ #include <errno.h> --- a/src/mtd.h +++ b/src/mtd.h -@@ -25,8 +25,10 @@ +@@ -25,8 +25,11 @@ #ifndef MTD_H #define MTD_H +#define _GNU_SOURCE #include <mtd/mtd-user.h> #include <endian.h> ++#include <stdint.h> +#include <fcntl.h> #include "BootControlBlocks.h" |