ruby-changes:18494
From: naruse <ko1@a...>
Date: Wed, 12 Jan 2011 11:37:19 +0900 (JST)
Subject: [ruby-changes:18494] Ruby:r30517 (trunk): * addr2line.c: OpenBSD uses the elf_abi.h header file instead of the
naruse 2011-01-12 11:35:07 +0900 (Wed, 12 Jan 2011) New Revision: 30517 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30517 Log: * addr2line.c: OpenBSD uses the elf_abi.h header file instead of the elf.h header file. patched by Jeremy Evans [ruby-core:34384] Modified files: trunk/ChangeLog trunk/addr2line.c Index: ChangeLog =================================================================== --- ChangeLog (revision 30516) +++ ChangeLog (revision 30517) @@ -1,3 +1,8 @@ +Wed Jan 12 11:33:46 2011 NARUSE, Yui <naruse@r...> + + * addr2line.c: OpenBSD uses the elf_abi.h header file instead of the + elf.h header file. patched by Jeremy Evans [ruby-core:34384] + Wed Jan 12 03:59:36 2011 NARUSE, Yui <naruse@r...> * test/webrick/test_cgi.rb: Removes usage of deprecated Index: addr2line.c =================================================================== --- addr2line.c (revision 30516) +++ addr2line.c (revision 30517) @@ -15,7 +15,11 @@ #ifdef __ELF__ +#ifdef __OpenBSD__ +#include <elf_abi.h> +#else #include <elf.h> +#endif #include <fcntl.h> #include <limits.h> #include <stdio.h> -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/