Commit 67fdbf38 authored by Jörg Krause's avatar Jörg Krause Committed by Thomas Petazzoni
Browse files

package/bsdiff: add patch to fix missing header for u_char

Fix missing header <sys/types.h> for u_char in bspatch.c.

Fixes http://autobuild.buildroot.net/results/31a/31a837cf6e34b02dce498f2b12e40d6d16a5a8e6/



Patch not sent upstream - no maintainer mail address or repository found.

Signed-off-by: default avatarJörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 357d0c92
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
bspatch: Fix missing header <sys/types.h> for u_char

Fixes http://autobuild.buildroot.net/results/31a/31a837cf6e34b02dce498f2b12e40d6d16a5a8e6/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>

diff -purN bsdiff-4.3.orig/bspatch.c bsdiff-4.3/bspatch.c
--- bsdiff-4.3.orig/bspatch.c	2015-04-30 13:47:26.485903359 +0200
+++ bsdiff-4.3/bspatch.c	2015-04-30 13:48:14.808908672 +0200
@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD: src/usr.bin/bsdiff/b
 #include <err.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <sys/types.h>

 static off_t offtin(u_char *buf)
 {