010-freebsd-ulong-fix.patch 226 B

12345678910111213
  1. --- a/include/image.h
  2. +++ b/include/image.h
  3. @@ -51,6 +51,10 @@ struct lmb;
  4. #endif /* USE_HOSTCC */
  5. +#ifndef ulong
  6. +#define ulong unsigned long
  7. +#endif
  8. +
  9. #if IMAGE_ENABLE_FIT
  10. #include <hash.h>
  11. #include <linux/libfdt.h>