Fixes the following build failure on sparc:
plt.c: In function ‘sym2addr’:
plt.c:33:12: error: dereferencing pointer to incomplete type
return sym->enter_addr;
^
plt.c:34:1: warning: control reaches end of non-void function [-Wreturn-type]
Signed-off-by: Thomas Petazzoni <[email protected]>
---
sysdeps/linux-gnu/sparc/plt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sysdeps/linux-gnu/sparc/plt.c b/sysdeps/linux-gnu/sparc/plt.c
index 3d2e589..959eed1 100644
--- a/sysdeps/linux-gnu/sparc/plt.c
+++ b/sysdeps/linux-gnu/sparc/plt.c
@@ -21,6 +21,7 @@
#include <gelf.h>
#include "proc.h"
#include "common.h"
+#include "library.h"
GElf_Addr
arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) {
--
2.6.4
_______________________________________________
Ltrace-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel