Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From 9e0368af471af3a36e0eb526453f892598120065 Mon Sep 17 00:00:00 2001 |
| 2 | From: Otavio Salvador <otavio@ossystems.com.br> |
| 3 | Date: Wed, 6 Jun 2018 09:50:35 -0300 |
| 4 | Subject: [PATCH 5/6] dri: i965: Add missing time.h include |
| 5 | Organization: O.S. Systems Software LTDA. |
| 6 | |
| 7 | This fixes a build error when using musl: |
| 8 | |
| 9 | ,---- |
| 10 | | In file included from .../src/mesa/drivers/dri/i965/intel_upload.c:33:0: |
| 11 | | .../src/mesa/drivers/dri/i965/brw_bufmgr.h:132:4: error: unknown type name 'time_t' |
| 12 | | time_t free_time; |
| 13 | | ^~~~~~ |
| 14 | `---- |
| 15 | |
| 16 | Upstream-Status: Backport [3c288da5eec81ee58b85927df18d9194ead8f5c2] |
| 17 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> |
| 18 | --- |
| 19 | src/mesa/drivers/dri/i965/brw_bufmgr.h | 1 + |
| 20 | 1 file changed, 1 insertion(+) |
| 21 | |
| 22 | diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.h b/src/mesa/drivers/dri/i965/brw_bufmgr.h |
| 23 | index 68f5e0c2c8..5b60a23763 100644 |
| 24 | --- a/src/mesa/drivers/dri/i965/brw_bufmgr.h |
| 25 | +++ b/src/mesa/drivers/dri/i965/brw_bufmgr.h |
| 26 | @@ -37,6 +37,7 @@ |
| 27 | #include <stdbool.h> |
| 28 | #include <stdint.h> |
| 29 | #include <stdio.h> |
| 30 | +#include <time.h> |
| 31 | #include "util/u_atomic.h" |
| 32 | #include "util/list.h" |
| 33 | |
| 34 | -- |
| 35 | 2.18.0 |
| 36 | |