ports/devel/libdwarf/files/patch-pro_incl.h
Pav Lucistnik fa7c2fb891 - Update to 20080615
PR:		ports/126986
Submitted by:	Pedro Giffuni <pfgshield-freebsd@yahoo.com>
Approved by:	maintainer timeout (joerg; 3 months)
2008-12-03 23:04:08 +00:00

17 lines
367 B
C

--- pro_incl.h.orig 2008-06-16 10:06:57.000000000 -0500
+++ pro_incl.h 2008-07-05 10:15:46.000000000 -0500
@@ -43,6 +43,14 @@
type defined (a required type). */
#include <libelf.h>
#endif
+#ifdef HAVE_LIBELF_H
+#include <libelf.h>
+#else
+#ifdef HAVE_LIBELF_LIBELF_H
+#include <libelf/libelf.h>
+#endif
+#endif
+
#if defined(sun)
#include <sys/elf_SPARC.h>