xref: /OK3568_Linux_fs/buildroot/package/bsdiff/0001-Add-missing-header-for-u_char.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1bspatch: Fix missing header <sys/types.h> for u_char
2
3Fixes http://autobuild.buildroot.net/results/31a/31a837cf6e34b02dce498f2b12e40d6d16a5a8e6/
4
5Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
6
7diff -purN bsdiff-4.3.orig/bspatch.c bsdiff-4.3/bspatch.c
8--- bsdiff-4.3.orig/bspatch.c	2015-04-30 13:47:26.485903359 +0200
9+++ bsdiff-4.3/bspatch.c	2015-04-30 13:48:14.808908672 +0200
10@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD: src/usr.bin/bsdiff/b
11 #include <err.h>
12 #include <unistd.h>
13 #include <fcntl.h>
14+#include <sys/types.h>
15
16 static off_t offtin(u_char *buf)
17 {
18