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