From 561937f2f4bbd38493408a99593c1bccbe36eb48 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Mon, 20 Jul 2020 20:37:30 +0200 Subject: bspatch: Fix compiling on macOS. u_char is a nonstandard type. On macOS this requires to explicitly include sys/types.h. Change-Id: I929ceafc12c7cbdcc96e85cdd05cce27d8aa6795 --- rbutil/bspatch/bspatch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rbutil/bspatch/bspatch.c b/rbutil/bspatch/bspatch.c index aab4c1dc6f..d1d7a5aa7a 100644 --- a/rbutil/bspatch/bspatch.c +++ b/rbutil/bspatch/bspatch.c @@ -28,6 +28,7 @@ #include #else #include +#include #endif #include "../bzip2/bzlib.h" #include -- cgit v1.2.3