0006-pan_bo.h-add-time.h-include-for-time_t.patch 937 B

12345678910111213141516171819202122232425262728293031323334
  1. From fc93d357efd207525a4ddaac609ab5a6bf469bcd Mon Sep 17 00:00:00 2001
  2. From: Peter Seiderer <ps.report@gmx.net>
  3. Date: Sun, 22 Mar 2020 11:48:31 +0100
  4. Subject: [PATCH] pan_bo.h: add time.h include for time_t
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Fixes:
  9. ../src/panfrost/encoder/pan_bo.h:93:9: error: unknown type name ‘time_t’
  10. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  11. [Bernd: rebased on 20.1]
  12. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
  13. ---
  14. src/panfrost/encoder/pan_bo.h | 1 +
  15. 1 file changed, 1 insertion(+)
  16. diff --git a/src/panfrost/encoder/pan_bo.h b/src/panfrost/encoder/pan_bo.h
  17. index 414c356b95c..6dda393095d 100644
  18. --- a/src/panfrost/encoder/pan_bo.h
  19. +++ b/src/panfrost/encoder/pan_bo.h
  20. @@ -29,6 +29,7 @@
  21. #include <panfrost-misc.h>
  22. #include "util/list.h"
  23. #include "pan_device.h"
  24. +#include <time.h>
  25. /* Flags for allocated memory */
  26. --
  27. 2.25.1