summaryrefslogtreecommitdiff
path: root/rbutil/bspatch
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-07-20 20:37:30 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-07-20 20:38:32 +0200
commit561937f2f4bbd38493408a99593c1bccbe36eb48 (patch)
tree03e31619801d6959bcdae92433e824227947da5b /rbutil/bspatch
parent2b1de3d3369e7491ef6cc05533ce7ca91bb6aa7e (diff)
downloadrockbox-561937f2f4bbd38493408a99593c1bccbe36eb48.tar.gz
rockbox-561937f2f4bbd38493408a99593c1bccbe36eb48.zip
bspatch: Fix compiling on macOS.
u_char is a nonstandard type. On macOS this requires to explicitly include sys/types.h. Change-Id: I929ceafc12c7cbdcc96e85cdd05cce27d8aa6795
Diffstat (limited to 'rbutil/bspatch')
-rw-r--r--rbutil/bspatch/bspatch.c1
1 files changed, 1 insertions, 0 deletions
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 @@
28#include <io.h> 28#include <io.h>
29#else 29#else
30#include <stdarg.h> 30#include <stdarg.h>
31#include <sys/types.h>
31#endif 32#endif
32#include "../bzip2/bzlib.h" 33#include "../bzip2/bzlib.h"
33#include <stdlib.h> 34#include <stdlib.h>