mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
97abe48112
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47332
21 lines
388 B
Diff
21 lines
388 B
Diff
--- a/src/mtd.c
|
|
+++ b/src/mtd.c
|
|
@@ -28,6 +28,7 @@
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
+#include <stddef.h>
|
|
#include <fcntl.h>
|
|
#include <ctype.h>
|
|
#include <errno.h>
|
|
--- a/src/mtd.h
|
|
+++ b/src/mtd.h
|
|
@@ -27,6 +27,7 @@
|
|
|
|
#include <mtd/mtd-user.h>
|
|
#include <endian.h>
|
|
+#include <fcntl.h>
|
|
|
|
#include "BootControlBlocks.h"
|
|
#include "rom_nand_hamming_code_ecc.h"
|