projects
/
openwrt
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kobs-ng: add header for integer definitions
[openwrt/.git]
/
package
/
boot
/
kobs-ng
/
patches
/
001-compile.patch
diff --git
a/package/boot/kobs-ng/patches/001-compile.patch
b/package/boot/kobs-ng/patches/001-compile.patch
index 67da93a324ba2a3d6b280e30782c4735ddf189d6..8648dc8b940f50a145ba77a3c37fd307f42861cf 100644
(file)
--- 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
#include <errno.h>
--- a/src/mtd.h
+++ b/src/mtd.h
-@@ -25,8 +25,1
0
@@
+@@ -25,8 +25,1
1
@@
#ifndef MTD_H
#define MTD_H
+#define _GNU_SOURCE
#include <mtd/mtd-user.h>
#include <endian.h>
#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"
+#include <fcntl.h>
#include "BootControlBlocks.h"