summaryrefslogtreecommitdiff
path: root/sys-apps/systemd-tmpfiles/files/musl-1.2.2.patch
blob: dc8905d5aabc8afb8e282cd1187a56b0b99d5f6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/meson.build b/meson.build
index bea9935..03b40f2 100644
--- a/meson.build
+++ b/meson.build
@@ -510,7 +510,8 @@ foreach ident : [
                                  #include <sys/stat.h>
                                  #include <unistd.h>'''],
         ['explicit_bzero' ,   '''#include <string.h>'''],
-        ['reallocarray',      '''#include <malloc.h>'''],
+        ['reallocarray',      '''#include <malloc.h>
+                                 #include <stdlib.h>'''],
         ['set_mempolicy',     '''#include <stdlib.h>
                                  #include <unistd.h>'''],
         ['get_mempolicy',     '''#include <stdlib.h>