mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 00:40:09 +01:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@
|
|||
#if !defined(HAVE_REALLOCARRAY)
|
||||
|
||||
#include <stdlib.h> // size_t
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue