aboutsummaryrefslogtreecommitdiff
path: root/stand/common
diff options
context:
space:
mode:
Diffstat (limited to 'stand/common')
-rw-r--r--stand/common/load_elf.c2
-rw-r--r--stand/common/load_elf_obj.c4
-rw-r--r--stand/common/reloc_elf.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/stand/common/load_elf.c b/stand/common/load_elf.c
index cccd585860a3..4c1277b71c83 100644
--- a/stand/common/load_elf.c
+++ b/stand/common/load_elf.c
@@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
#include <machine/elf.h>
#include <stand.h>
#define FREEBSD_ELF
-#include <link.h>
+#include <sys/link_elf.h>
#include "bootstrap.h"
diff --git a/stand/common/load_elf_obj.c b/stand/common/load_elf_obj.c
index a32b9fde4b75..57df57a79c79 100644
--- a/stand/common/load_elf_obj.c
+++ b/stand/common/load_elf_obj.c
@@ -33,12 +33,12 @@ __FBSDID("$FreeBSD$");
#include <sys/exec.h>
#include <sys/linker.h>
#include <sys/module.h>
-#include <inttypes.h>
+#include <stdint.h>
#include <string.h>
#include <machine/elf.h>
#include <stand.h>
#define FREEBSD_ELF
-#include <link.h>
+#include <sys/link_elf.h>
#include "bootstrap.h"
diff --git a/stand/common/reloc_elf.c b/stand/common/reloc_elf.c
index 6d4a00ff8f68..22bfe5bccfa6 100644
--- a/stand/common/reloc_elf.c
+++ b/stand/common/reloc_elf.c
@@ -36,7 +36,7 @@ __FBSDID("$FreeBSD$");
#include <stand.h>
#define FREEBSD_ELF
-#include <link.h>
+#include <sys/link_elf.h>
#include "bootstrap.h"