aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-08 22:28:10 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-08 22:28:10 +0000
commit243f4d0af1c2c885b7bfaa00054ba6b95e10eb8a (patch)
treed3c99330113da5879873f49baf93e406d085becd /bfd/hosts
parent398eef0a8d7e48741668e0a1093a5af3d9ed2154 (diff)
downloadgdb-243f4d0af1c2c885b7bfaa00054ba6b95e10eb8a.zip
gdb-243f4d0af1c2c885b7bfaa00054ba6b95e10eb8a.tar.gz
gdb-243f4d0af1c2c885b7bfaa00054ba6b95e10eb8a.tar.bz2
Add errno, for binutils.
Diffstat (limited to 'bfd/hosts')
-rw-r--r--bfd/hosts/i386mach.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/hosts/i386mach.h b/bfd/hosts/i386mach.h
index 75fef74..6b6c9ce 100644
--- a/bfd/hosts/i386mach.h
+++ b/bfd/hosts/i386mach.h
@@ -1,5 +1,6 @@
#include <fcntl.h>
#include <errno.h>
+extern int errno; /* <errno.h> forgets to do this... */
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>