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
This commit is contained in:
Konstantin Belousov 2023-07-22 07:39:20 +03:00
parent cf6dbdd135
commit bc7e86106d

View File

@ -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"
/*