aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/pdp11.em1
-rw-r--r--ld/emultempl/ticoff.em1
-rw-r--r--ld/emultempl/vms.em1
3 files changed, 3 insertions, 0 deletions
diff --git a/ld/emultempl/pdp11.em b/ld/emultempl/pdp11.em
index 8ff260a..c6dbdee 100644
--- a/ld/emultempl/pdp11.em
+++ b/ld/emultempl/pdp11.em
@@ -21,6 +21,7 @@
fragment <<EOF
/* --- \begin{pdp11.em} */
+#include "libiberty.h"
#include "getopt.h"
static void
diff --git a/ld/emultempl/ticoff.em b/ld/emultempl/ticoff.em
index 31abefe..8a3bfae 100644
--- a/ld/emultempl/ticoff.em
+++ b/ld/emultempl/ticoff.em
@@ -28,6 +28,7 @@ fragment <<EOF
#define TARGET_IS_${EMULATION_NAME}
#include "sysdep.h"
+#include "libiberty.h"
#include "bfd.h"
#include "bfdlink.h"
#include "ctf-api.h"
diff --git a/ld/emultempl/vms.em b/ld/emultempl/vms.em
index 3d2cd4a..1d90169 100644
--- a/ld/emultempl/vms.em
+++ b/ld/emultempl/vms.em
@@ -22,6 +22,7 @@
# This file is sourced from generic.em.
fragment <<EOF
+#include "libiberty.h"
#include "getopt.h"
static void