aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/hosts/lynx.h2
-rw-r--r--bfd/hosts/sparclynx.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/bfd/hosts/lynx.h b/bfd/hosts/lynx.h
index 737c9bd..0d89a18 100644
--- a/bfd/hosts/lynx.h
+++ b/bfd/hosts/lynx.h
@@ -27,6 +27,8 @@
#include "fopen-same.h"
+#define FPRINTF_ALREADY_DECLARED
+
#undef I386 /* Lynx defines this for some reason */
/* Lynx has calloc, but no cfree, and gprof uses it. */
diff --git a/bfd/hosts/sparclynx.h b/bfd/hosts/sparclynx.h
index 78e6ac8..4e5696a 100644
--- a/bfd/hosts/sparclynx.h
+++ b/bfd/hosts/sparclynx.h
@@ -28,6 +28,8 @@
#include "fopen-same.h"
+#define FPRINTF_ALREADY_DECLARED
+
/* Lynx has calloc, but no cfree, and gprof uses it. */
#define cfree free