Date: Wed, 26 Jul 2023 14:30:14 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: bc7e86106d42 - main - rtld_malloc: only include internal rtld headers when building for rtld Message-ID: <202307261430.36QEUEdZ027767@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=bc7e86106d428c7da328ad7fc9d4cb5f7f303e0e commit bc7e86106d428c7da328ad7fc9d4cb5f7f303e0e Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2023-07-22 04:39:20 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2023-07-26 14:24:17 +0000 rtld_malloc: only include internal rtld headers when building for rtld Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D41150 --- libexec/rtld-elf/rtld_malloc.c | 2 ++ 1 file changed, 2 insertions(+) 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" /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307261430.36QEUEdZ027767>