aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
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>