pan_bo.h: add time.h include for time_t

Fixes:

  ../src/gallium/drivers/panfrost/pan_bo.h:93:9: error: unknown type name ‘time_t’

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4279>
(cherry picked from commit d512028d06)
This commit is contained in:
Peter Seiderer 2020-03-22 11:48:31 +01:00 committed by Eric Engestrom
parent ad81207d00
commit eedeee0094
2 changed files with 2 additions and 1 deletions

View file

@ -886,7 +886,7 @@
"description": "pan_bo.h: add time.h include for time_t",
"nominated": false,
"nomination_type": null,
"resolution": 4,
"resolution": 1,
"master_sha": null,
"because_sha": null
},

View file

@ -29,6 +29,7 @@
#include <panfrost-misc.h>
#include "util/list.h"
#include "pan_device.h"
#include <time.h>
/* Flags for allocated memory */