aboutsummaryrefslogtreecommitdiff
path: root/lib/libthread_db
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2004-07-18 15:20:03 +0000
committerScott Long <scottl@FreeBSD.org>2004-07-18 15:20:03 +0000
commit4bfe920594d0c4ee4112205e5450cd1faccb45a5 (patch)
treef0e9302eb3c7baf7cca6f90909384bbf844d506b /lib/libthread_db
parente89865e51661585e7dccc43e66a399c7b9d23124 (diff)
downloadsrc-4bfe920594d0c4ee4112205e5450cd1faccb45a5.tar.gz
src-4bfe920594d0c4ee4112205e5450cd1faccb45a5.zip
Add missing #includes so that this can compile. Obtained from the i386 version.
Notes
Notes: svn path=/head/; revision=132351
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 49593875932a..6d15c91e23a7 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)
{