summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db/arch/amd64/libpthread_md.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthread_db/arch/amd64/libpthread_md.c')
-rw-r--r--lib/libthread_db/arch/amd64/libpthread_md.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libthread_db/arch/amd64/libpthread_md.c b/lib/libthread_db/arch/amd64/libpthread_md.c
index 4959387..7553ed1 100644
--- a/lib/libthread_db/arch/amd64/libpthread_md.c
+++ b/lib/libthread_db/arch/amd64/libpthread_md.c
@@ -27,6 +27,9 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <sys/procfs.h>
+#include <ucontext.h>
+
void
pt_reg_to_ucontext(const struct reg *r, ucontext_t *uc)
{
OpenPOWER on IntegriCloud