aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-05-04 02:22:47 +0200
committerPetr Machata <pmachata@redhat.com>2012-08-29 19:03:16 +0200
commit98d319eb9654ce903c751405535ebcd7077be887 (patch)
treeea179369378b31c333304066cd664b54d05702a8
parentda442f4777454436e02bf0ec170bc9b59fb68546 (diff)
downloadltrace-98d319eb9654ce903c751405535ebcd7077be887.tar.gz
Fix includes in PPC back end
-rw-r--r--fetch.c2
-rw-r--r--library.c2
-rw-r--r--sysdeps/linux-gnu/ppc/plt.c1
3 files changed, 4 insertions, 1 deletions
diff --git a/fetch.c b/fetch.c
index db05bfe..bce949f 100644
--- a/fetch.c
+++ b/fetch.c
@@ -20,9 +20,11 @@
#include <stdlib.h>
#include <string.h>
+
#include "fetch.h"
#include "value.h"
#include "arch.h"
+#include "type.h"
#ifdef ARCH_HAVE_FETCH_ARG
struct fetch_context *arch_fetch_arg_init(enum tof type, struct Process *proc,
diff --git a/library.c b/library.c
index 9a7dae6..2bd7dbb 100644
--- a/library.c
+++ b/library.c
@@ -27,7 +27,7 @@
#include "library.h"
#include "proc.h" // for enum callback_status
#include "debug.h"
-#include "common.h" // for arch_library_symbol_init, arch_library_init
+#include "backend.h" // for arch_library_symbol_init, arch_library_init
#ifndef ARCH_HAVE_LIBRARY_DATA
void
diff --git a/sysdeps/linux-gnu/ppc/plt.c b/sysdeps/linux-gnu/ppc/plt.c
index 9717738..944bd6a 100644
--- a/sysdeps/linux-gnu/ppc/plt.c
+++ b/sysdeps/linux-gnu/ppc/plt.c
@@ -11,6 +11,7 @@
#include "library.h"
#include "breakpoint.h"
#include "linux-gnu/trace.h"
+#include "backend.h"
/* There are two PLT types on 32-bit PPC: old-style, BSS PLT, and
* new-style "secure" PLT. We can tell one from the other by the