diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2023-02-14 08:52:14 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2023-02-19 05:16:25 +0000 |
commit | 1889a973af243373b1859827460910b1bee7495f (patch) | |
tree | a777516c603e424a10d7403b7f25eb0893b42704 /libexec | |
parent | c2ee668306bbe3edf4a05246ed3a88f52dfc94ae (diff) | |
download | src-1889a973af243373b1859827460910b1bee7495f.tar.gz src-1889a973af243373b1859827460910b1bee7495f.zip |
sys/param.h: Add _WANT_P_OSREL
(cherry picked from commit 5942b4b6fde3f4ce6d0295fbcf135f552f92c607)
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-elf/amd64/reloc.c | 1 | ||||
-rw-r--r-- | libexec/rtld-elf/map_object.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/amd64/reloc.c b/libexec/rtld-elf/amd64/reloc.c index c7cf7bd58845..c9a2734853b6 100644 --- a/libexec/rtld-elf/amd64/reloc.c +++ b/libexec/rtld-elf/amd64/reloc.c @@ -33,6 +33,7 @@ * John Polstra <jdp@polstra.com>. */ +#define _WANT_P_OSREL #include <sys/param.h> #include <sys/mman.h> #include <machine/cpufunc.h> diff --git a/libexec/rtld-elf/map_object.c b/libexec/rtld-elf/map_object.c index 7c637fe1d6ba..fb5854910ee2 100644 --- a/libexec/rtld-elf/map_object.c +++ b/libexec/rtld-elf/map_object.c @@ -27,6 +27,7 @@ * $FreeBSD$ */ +#define _WANT_P_OSREL #include <sys/param.h> #include <sys/mman.h> #include <sys/stat.h> |