aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-i386mach.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-04-08 01:14:17 +0000
committerStu Grossman <grossman@cygnus>1992-04-08 01:14:17 +0000
commitff1e35cb62df4179a14a64cbee4c752eb0ba8885 (patch)
treee072dbecb362cf33ffc5fb27842ac3b0a42399a2 /gdb/xm-i386mach.h
parenta19cc981aebf7cdff4ce150d62fea03cb1a980ac (diff)
downloadfsf-binutils-gdb-ff1e35cb62df4179a14a64cbee4c752eb0ba8885.zip
fsf-binutils-gdb-ff1e35cb62df4179a14a64cbee4c752eb0ba8885.tar.gz
fsf-binutils-gdb-ff1e35cb62df4179a14a64cbee4c752eb0ba8885.tar.bz2
* xm-i386mach.h: add decl for errno.
Diffstat (limited to 'gdb/xm-i386mach.h')
-rw-r--r--gdb/xm-i386mach.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/xm-i386mach.h b/gdb/xm-i386mach.h
index 244361b..c71a103 100644
--- a/gdb/xm-i386mach.h
+++ b/gdb/xm-i386mach.h
@@ -42,3 +42,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define FETCH_INFERIOR_REGISTERS
#define PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES)
+
+/* <errno.h> only defines this if __STDC__!!! */
+extern int errno;