From 4acff773ae8abaafbac90c4f8d9f3545688bfd8d Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 12 Jan 2011 02:35:07 +0000 Subject: * addr2line.c: OpenBSD uses the elf_abi.h header file instead of the elf.h header file. patched by Jeremy Evans [ruby-core:34384] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- addr2line.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'addr2line.c') diff --git a/addr2line.c b/addr2line.c index f1f8b4d8ba..605c6f60d3 100644 --- a/addr2line.c +++ b/addr2line.c @@ -15,7 +15,11 @@ #ifdef __ELF__ +#ifdef __OpenBSD__ +#include +#else #include +#endif #include #include #include -- cgit v1.2.3