From ff1e35cb62df4179a14a64cbee4c752eb0ba8885 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Wed, 8 Apr 1992 01:14:17 +0000 Subject: * xm-i386mach.h: add decl for errno. --- gdb/xm-i386mach.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/xm-i386mach.h') 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) + +/* only defines this if __STDC__!!! */ +extern int errno; -- cgit v1.1