summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-07-18 15:20:03 +0000
committerscottl <scottl@FreeBSD.org>2004-07-18 15:20:03 +0000
commit5e3b195590286bf168c6af084ba8d48e265f89ca (patch)
treef0e9302eb3c7baf7cca6f90909384bbf844d506b /lib/libthread_db
parent446479e8a17f0be8bb2bc6c1d3feddc8175e3173 (diff)
downloadFreeBSD-src-5e3b195590286bf168c6af084ba8d48e265f89ca.zip
FreeBSD-src-5e3b195590286bf168c6af084ba8d48e265f89ca.tar.gz
Add missing #includes so that this can compile. Obtained from the i386 version.
Diffstat (limited to 'lib/libthread_db')
-rw-r--r--lib/libthread_db/arch/sparc64/libpthread_md.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libthread_db/arch/sparc64/libpthread_md.c b/lib/libthread_db/arch/sparc64/libpthread_md.c
index 4959387..6d15c91 100644
--- a/lib/libthread_db/arch/sparc64/libpthread_md.c
+++ b/lib/libthread_db/arch/sparc64/libpthread_md.c
@@ -27,6 +27,13 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <string.h>
+#include <sys/types.h>
+#include <proc_service.h>
+#include <thread_db.h>
+
+#include "libpthread_db.h"
+
void
pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
{
OpenPOWER on IntegriCloud