projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5dec00
)
util/reallocarray: add errno.h include.
author
Dave Airlie
<airlied@redhat.com>
Thu, 28 Jul 2022 03:25:23 +0000
(13:25 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 28 Jul 2022 20:47:28 +0000
(06:47 +1000)
Might fix OSX
Fixes:
419b52f1de6fd
("util: add reallocarray wrapper for win32")
Tested-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17779>
src/util/reallocarray.h
patch
|
blob
|
history
diff --git
a/src/util/reallocarray.h
b/src/util/reallocarray.h
index
d072c60
..
6020139
100644
(file)
--- a/
src/util/reallocarray.h
+++ b/
src/util/reallocarray.h
@@
-27,6
+27,7
@@
#if !defined(HAVE_REALLOCARRAY)
#include <stdlib.h> // size_t
+#include <errno.h>
#ifdef __cplusplus
extern "C" {