summaryrefslogtreecommitdiff
path: root/packages/ltrace/0.7.3/0004-sparc-ftbfs.patch
blob: 270e95ed4957cf5cc5c99537fb8d4b4a4bb59190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: Juan Cespedes <cespedes@debian.org>
Description: fixes compilation on sparc
Last-Update: 2014-01-02


---
 sysdeps/linux-gnu/sparc/plt.c   |    3 ++-
 sysdeps/linux-gnu/sparc/trace.c |    2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

--- a/sysdeps/linux-gnu/sparc/plt.c
+++ b/sysdeps/linux-gnu/sparc/plt.c
@@ -19,8 +19,9 @@
  */
 
 #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) {
--- a/sysdeps/linux-gnu/sparc/trace.c
+++ b/sysdeps/linux-gnu/sparc/trace.c
@@ -26,8 +26,10 @@
 #include <sys/wait.h>
 #include <signal.h>
 #include <string.h>
+
 #include "ptrace.h"
 #include "proc.h"
+#include "backend.h"
 #include "common.h"
 
 void