diff --git a/src/elf32.c b/src/elf32.c index f1c21e6d..a70bb58f 100644 --- a/src/elf32.c +++ b/src/elf32.c @@ -1,2 +1,4 @@ -#include "elf32.h" -#include "elfxx.c" +#ifndef UNW_REMOTE_ONLY +# include "elf32.h" +# include "elfxx.c" +#endif diff --git a/src/elf64.c b/src/elf64.c index 1154179b..195b8879 100644 --- a/src/elf64.c +++ b/src/elf64.c @@ -1,2 +1,4 @@ -#include "elf64.h" -#include "elfxx.c" +#ifndef UNW_REMOTE_ONLY +# include "elf64.h" +# include "elfxx.c" +#endif