summaryrefslogtreecommitdiff
path: root/binutils/sysdep.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-08-25 04:38:13 +0000
committerAlan Modra <amodra@bigpond.net.au>2008-08-25 04:38:13 +0000
commit7040f7e218b9293e99bd3aab34375d48af83e3ac (patch)
treeb6bb5866f48cc0f5a7514ba2bdd916f9f36307a4 /binutils/sysdep.h
parent82bfdc9c0249e48935057396466aa8a1f52b51f8 (diff)
downloadbinutils-redhat-7040f7e218b9293e99bd3aab34375d48af83e3ac.tar.gz
* sysdep.h: Include "binary-io.h".
(O_BINARY): Don't define here. * bin2c.c (O_BINARY, O_TEXT, SET_BINARY): Don't define here. * strings.c: Likewise. (main): Remove #ifdef SET_BINARY. * Makefile.am: Run "make dep-am" * Makefile.in: Regenerate.
Diffstat (limited to 'binutils/sysdep.h')
-rw-r--r--binutils/sysdep.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/binutils/sysdep.h b/binutils/sysdep.h
index e6a89a49d3..18518dccdc 100644
--- a/binutils/sysdep.h
+++ b/binutils/sysdep.h
@@ -1,6 +1,7 @@
/* sysdep.h -- handle host dependencies for binutils
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
+ 2001, 2002, 2003, 2005, 2006, 2007, 2008
+ Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -36,14 +37,6 @@
#include "fopen-same.h"
#endif
-#ifndef O_BINARY
-#ifdef _O_BINARY
-#define O_BINARY _O_BINARY
-#else
-#define O_BINARY 0
-#endif
-#endif
-
#include <errno.h>
#ifndef errno
extern int errno;
@@ -76,6 +69,8 @@ extern char *strrchr ();
#endif
#endif
+#include "binary-io.h"
+
#if !HAVE_DECL_STPCPY
extern char *stpcpy (char *, const char *);
#endif