about summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2019-09-12 19:03:10 +0200
committerProfpatsch <mail@profpatsch.de>2019-09-19 10:09:15 +0200
commitaec2d7eb9231a463bd3be5e0b8540ef4ba27ae8a (patch)
tree3c51f084c3bb135da1d869fbb773734c4dcc3f8c /pkgs/build-support
parent6ec10beaaf08cce964bc395f55f7d59ecee50906 (diff)
pkgs/build-sandbox: remove malloc.h
The standard functins in `malloc.h` are exported by `stdlib.h`, and
`malloc.h` is highly linux-specific.

See
https://stackoverflow.com/questions/56463049/should-mac-osx-have-a-malloc-h-file/56463133#56463133
and
https://stackoverflow.com/questions/12973311/difference-between-stdlib-h-and-malloc-h
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/build-sandbox/src/setup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkgs/build-support/build-sandbox/src/setup.c b/pkgs/build-support/build-sandbox/src/setup.c
index 8af42a06..98205710 100644
--- a/pkgs/build-support/build-sandbox/src/setup.c
+++ b/pkgs/build-support/build-sandbox/src/setup.c
@@ -9,7 +9,6 @@
 #include <fcntl.h>
 #include <libgen.h>
 #include <limits.h>
-#include <malloc.h>
 #include <sched.h>
 #include <stdbool.h>
 #include <stdio.h>