From 0193476ea790963884059c27d7fdd607a6f79019 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Wed, 30 May 2007 17:08:12 -0400 Subject: Fix compiling on Solaris since Nate's libelf change SConstruct: export env after we've set CC/CXX ext/libelf/SConscript: pull in the CC/CXX variables from env. Use gm4 if it exists ext/libelf/elf_begin.c: ext/libelf/libelf_allocate.c: include errno.h instead of sys/errno.h ext/libelf/elf_common.h: use the more standard uintX_t ext/libelf/elf_strptr.c: ext/libelf/elf_update.c: include sysmacros.h on Solaris for roundup() --HG-- extra : convert_revision : ea1aab834029399c445dfa4c9f78febf2c3d8f0c --- ext/libelf/elf_strptr.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/libelf/elf_strptr.c') diff --git a/ext/libelf/elf_strptr.c b/ext/libelf/elf_strptr.c index b89b0eac7..6a05fa1d4 100644 --- a/ext/libelf/elf_strptr.c +++ b/ext/libelf/elf_strptr.c @@ -26,6 +26,9 @@ #include +#ifdef __sun +#include +#endif #include #include "gelf.h" -- cgit v1.2.3