util/reallocarray: add errno.h include.
Might fix OSX
Fixes: 419b52f1de
("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>
This commit is contained in:
parent
d5dec00e94
commit
9ba62ea8fb
|
@ -27,6 +27,7 @@
|
|||
#if !defined(HAVE_REALLOCARRAY)
|
||||
|
||||
#include <stdlib.h> // size_t
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
Loading…
Reference in New Issue