0001-Add-missing-header-for-u_char.patch 570 B

1234567891011121314151617
  1. bspatch: Fix missing header <sys/types.h> for u_char
  2. Fixes http://autobuild.buildroot.net/results/31a/31a837cf6e34b02dce498f2b12e40d6d16a5a8e6/
  3. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
  4. diff -purN bsdiff-4.3.orig/bspatch.c bsdiff-4.3/bspatch.c
  5. --- bsdiff-4.3.orig/bspatch.c 2015-04-30 13:47:26.485903359 +0200
  6. +++ bsdiff-4.3/bspatch.c 2015-04-30 13:48:14.808908672 +0200
  7. @@ -35,6 +35,7 @@ __FBSDID("$FreeBSD: src/usr.bin/bsdiff/b
  8. #include <err.h>
  9. #include <unistd.h>
  10. #include <fcntl.h>
  11. +#include <sys/types.h>
  12. static off_t offtin(u_char *buf)
  13. {