diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-07-20 20:37:30 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-07-20 20:38:32 +0200 |
commit | 561937f2f4bbd38493408a99593c1bccbe36eb48 (patch) | |
tree | 03e31619801d6959bcdae92433e824227947da5b /rbutil/bspatch | |
parent | 2b1de3d3369e7491ef6cc05533ce7ca91bb6aa7e (diff) | |
download | rockbox-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.c | 1 |
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> |