summaryrefslogtreecommitdiff
path: root/src/coredump/_UCD_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/coredump/_UCD_internal.h')
-rw-r--r--src/coredump/_UCD_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/coredump/_UCD_internal.h b/src/coredump/_UCD_internal.h
index 6ac04b9e..d5a36f6b 100644
--- a/src/coredump/_UCD_internal.h
+++ b/src/coredump/_UCD_internal.h
@@ -90,7 +90,9 @@ typedef procfs_status UCD_proc_status_t;
struct UCD_thread_info
{
UCD_proc_status_t prstatus;
+#ifdef HAVE_ELF_FPREGSET_T
elf_fpregset_t fpregset;
+#endif
};
struct UCD_info
@@ -102,7 +104,9 @@ struct UCD_info
unsigned phdrs_count;
void *note_phdr; /* allocated or NULL */
UCD_proc_status_t *prstatus; /* points inside note_phdr */
+#ifdef HAVE_ELF_FPREGSET_T
elf_fpregset_t *fpregset;
+#endif
int n_threads;
struct UCD_thread_info *threads;
struct elf_dyn_info edi;