From: John Hodge Date: Sun, 16 Mar 2014 09:08:20 +0000 (+0800) Subject: Usermode/ld-acess - Fix unconditional inclusion of assert.h in shared code X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=f08ffb4a09855859328b73127ad5a62505564612;p=tpg%2Facess2.git Usermode/ld-acess - Fix unconditional inclusion of assert.h in shared code --- diff --git a/Usermode/Libraries/ld-acess.so_src/elf.c b/Usermode/Libraries/ld-acess.so_src/elf.c index 27cf96c1..71e9a92b 100644 --- a/Usermode/Libraries/ld-acess.so_src/elf.c +++ b/Usermode/Libraries/ld-acess.so_src/elf.c @@ -15,7 +15,9 @@ #include "common.h" #include -#include +#ifndef assert +# include +#endif #include "elf32.h" #include "elf64.h"