From 08d68dda080a9eb90a4cf23be5696a35b94bcdf9 Mon Sep 17 00:00:00 2001 From: Brian Feldman Date: Tue, 30 Oct 2001 15:10:16 +0000 Subject: [PATCH] Also, machine/profile.h should be necessary for the function prototype of kmupetext(). --- sys/kern/link_elf.c | 3 +++ sys/kern/link_elf_obj.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/sys/kern/link_elf.c b/sys/kern/link_elf.c index 944a55a2808a..888ce5e2e2d1 100644 --- a/sys/kern/link_elf.c +++ b/sys/kern/link_elf.c @@ -41,6 +41,9 @@ #include #include +#ifdef GPROF +#include +#endif #include #include diff --git a/sys/kern/link_elf_obj.c b/sys/kern/link_elf_obj.c index 944a55a2808a..888ce5e2e2d1 100644 --- a/sys/kern/link_elf_obj.c +++ b/sys/kern/link_elf_obj.c @@ -41,6 +41,9 @@ #include #include +#ifdef GPROF +#include +#endif #include #include