summaryrefslogtreecommitdiff
path: root/package/mtd-utils/patches/patch-nand-utils_nftl_format_c
blob: ff25489ef7dc4cc34c1d7e0c23bca1b47969be97 (plain)
1
2
3
4
5
6
7
8
9
10
--- mtd-utils-2.0.0.orig/nand-utils/nftl_format.c	2016-12-14 10:06:35.000000000 +0100
+++ mtd-utils-2.0.0/nand-utils/nftl_format.c	2017-04-26 08:57:07.000000000 +0200
@@ -23,6 +23,7 @@
 #define PROGRAM_NAME "nftl_format"
 
 #define _XOPEN_SOURCE 500 /* for pread/pwrite */
+#include <sys/types.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <stdio.h>