aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/hosts/rs6000.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/hosts/rs6000.h b/bfd/hosts/rs6000.h
index 4fb70e8..7cf72b1 100644
--- a/bfd/hosts/rs6000.h
+++ b/bfd/hosts/rs6000.h
@@ -8,6 +8,9 @@
#include <sys/file.h>
#include <stdlib.h> /* for malloc() */
+/* fdopen() won't let you open read-only files for update */
+#define FASCIST_FDOPEN
+
#ifndef O_ACCMODE
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
#endif