projects
/
openwrt
/
staging
/
lynxis
/
omap.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
boot: kobs-ng: update kobs-ng for newer kernels
[openwrt/staging/lynxis/omap.git]
/
package
/
boot
/
kobs-ng
/
patches
/
001-compile.patch
1
--- a/src/mtd.c
2
+++ b/src/mtd.c
3
@@ -28,6 +28,7 @@
4
#include <unistd.h>
5
#include <stdlib.h>
6
#include <string.h>
7
+#include <stddef.h>
8
#include <fcntl.h>
9
#include <ctype.h>
10
#include <errno.h>
11
--- a/src/mtd.h
12
+++ b/src/mtd.h
13
@@ -25,8 +25,10 @@
14
#ifndef MTD_H
15
#define MTD_H
16
17
+#define _GNU_SOURCE
18
#include <mtd/mtd-user.h>
19
#include <endian.h>
20
+#include <fcntl.h>
21
22
#include "BootControlBlocks.h"
23
#include "rom_nand_hamming_code_ecc.h"