meson: Fix reallocarray check

reallocarray() is defined in stdlib.h, so that would be right header to
check for its presense.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2020-12-12 16:15:57 -08:00 committed by Zbigniew Jędrzejewski-Szmek
parent 4eb105fa4a
commit 5bb20fd3d3
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ foreach ident : [
#include <sys/stat.h>
#include <unistd.h>'''],
['explicit_bzero' , '''#include <string.h>'''],
['reallocarray', '''#include <malloc.h>'''],
['reallocarray', '''#include <stdlib.h>'''],
['set_mempolicy', '''#include <stdlib.h>
#include <unistd.h>'''],
['get_mempolicy', '''#include <stdlib.h>