summaryrefslogtreecommitdiff
path: root/libexec/rtld-elf/rtld_malloc.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2023-07-22 04:39:20 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2023-08-02 00:36:39 +0000
commit04085d4b69dc556c42ada27b0ec448ddc896f09a (patch)
tree7dc0ff6abf68e6a18bc7e1db023e793280a5fde3 /libexec/rtld-elf/rtld_malloc.c
parentb619a7f161dfdaf9775fd52b6e3c9569f9155c54 (diff)
Diffstat (limited to 'libexec/rtld-elf/rtld_malloc.c')
-rw-r--r--libexec/rtld-elf/rtld_malloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld_malloc.c b/libexec/rtld-elf/rtld_malloc.c
index 6660610b11ce..45d3f743e348 100644
--- a/libexec/rtld-elf/rtld_malloc.c
+++ b/libexec/rtld-elf/rtld_malloc.c
@@ -53,9 +53,11 @@ static char *rcsid = "$FreeBSD$";
#include <stddef.h>
#include <string.h>
#include <unistd.h>
+#ifdef IN_RTLD
#include "rtld.h"
#include "rtld_printf.h"
#include "rtld_paths.h"
+#endif
#include "rtld_malloc.h"
/*