bspatch: Fix compiling on macOS.

u_char is a nonstandard type. On macOS this requires to explicitly
include sys/types.h.

Change-Id: I929ceafc12c7cbdcc96e85cdd05cce27d8aa6795
This commit is contained in:
Dominik Riebeling 2020-07-20 20:37:30 +02:00
parent 2b1de3d336
commit 561937f2f4
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#include <io.h>
#else
#include <stdarg.h>
#include <sys/types.h>
#endif
#include "../bzip2/bzlib.h"
#include <stdlib.h>