summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/sparc64/reloc.c
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-06-24 05:23:46 +0000
committerjake <jake@FreeBSD.org>2002-06-24 05:23:46 +0000
commit57b695126f126c8ac6b0e85af1df53a952371809 (patch)
treebe5cba7686647d81d3f276a35950746134d681d4 /libexec/rtld-elf/sparc64/reloc.c
parentbd5e8e0bcdc3c48a4357ec9b112a98a406f245da (diff)
downloadFreeBSD-src-57b695126f126c8ac6b0e85af1df53a952371809.zip
FreeBSD-src-57b695126f126c8ac6b0e85af1df53a952371809.tar.gz
Add needed include of mman.h to fix sparc64 buildworld.
Diffstat (limited to 'libexec/rtld-elf/sparc64/reloc.c')
-rw-r--r--libexec/rtld-elf/sparc64/reloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/rtld-elf/sparc64/reloc.c b/libexec/rtld-elf/sparc64/reloc.c
index db1ffe3..b26b119 100644
--- a/libexec/rtld-elf/sparc64/reloc.c
+++ b/libexec/rtld-elf/sparc64/reloc.c
@@ -39,12 +39,14 @@
* $FreeBSD$
*/
+#include <sys/param.h>
+#include <sys/mman.h>
+
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <sys/stat.h>
#include "debug.h"
#include "rtld.h"
OpenPOWER on IntegriCloud