summaryrefslogtreecommitdiff
path: root/devel/libdwarf/files/patch-pro_incl.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libdwarf/files/patch-pro_incl.h')
-rw-r--r--devel/libdwarf/files/patch-pro_incl.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/libdwarf/files/patch-pro_incl.h b/devel/libdwarf/files/patch-pro_incl.h
new file mode 100644
index 000000000000..15cbdef76982
--- /dev/null
+++ b/devel/libdwarf/files/patch-pro_incl.h
@@ -0,0 +1,21 @@
+--- pro_incl.h.orig Mon Nov 22 19:20:35 2004
++++ pro_incl.h Sat Feb 12 22:17:11 2005
+@@ -38,6 +38,18 @@
+ #ifdef HAVE_ELF_H
+ #include <elf.h>
+ #endif
++#ifdef __SGI_FAST_LIBELF
++#include <libelf_sgi.h>
++#else
++#ifdef HAVE_LIBELF_H
++#include <libelf.h>
++#else
++#ifdef HAVE_LIBELF_LIBELF_H
++#include <libelf/libelf.h>
++#endif
++#endif
++#endif /* !defined(__SGI_FAST_LIBELF) */
++
+
+ /* The target address is given: the place in the source integer
+ is to be determined.