0002-hash-include-util.h-for-MIN-macro.patch 718 B

12345678910111213141516171819202122232425262728
  1. From 948ecf84314f78da82e0e2b07b6570ca9cff86c8 Mon Sep 17 00:00:00 2001
  2. From: Miroslav Lichvar <mlichvar@redhat.com>
  3. Date: Thu, 20 Sep 2018 15:01:16 +0200
  4. Subject: [PATCH] hash: include util.h for MIN macro
  5. The hash_intmd5.c file inadvertently relied on the system headers to
  6. provide the MIN macro, but it is missing with some libc implementations.
  7. Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
  8. ---
  9. hash_intmd5.c | 1 +
  10. 1 file changed, 1 insertion(+)
  11. diff --git a/hash_intmd5.c b/hash_intmd5.c
  12. index 0b60f9b..49da1cf 100644
  13. --- a/hash_intmd5.c
  14. +++ b/hash_intmd5.c
  15. @@ -29,6 +29,7 @@
  16. #include "sysincl.h"
  17. #include "hash.h"
  18. #include "memory.h"
  19. +#include "util.h"
  20. #include "md5.c"
  21. --
  22. 2.17.1