diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2023-02-14 08:52:14 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2023-02-15 00:43:18 +0000 |
| commit | 5942b4b6fde3f4ce6d0295fbcf135f552f92c607 (patch) | |
| tree | c80fa1a832ea52fbcd701ecc1e311aaaa5f24354 /libexec | |
| parent | 4b0552d5f4ea0bd09d7f0f178810886472e84d63 (diff) | |
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 4bf32398710d..1ca5fc16477a 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> |
