From b8f742db850ffc99333a97ab54fc820c6de0fd98 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 11 Jan 2005 17:43:53 +0000 Subject: os x changes --- src/libmach/elfcorelinux386.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libmach/elfcorelinux386.c') diff --git a/src/libmach/elfcorelinux386.c b/src/libmach/elfcorelinux386.c index 18f8bdfe..8fa74ab9 100644 --- a/src/libmach/elfcorelinux386.c +++ b/src/libmach/elfcorelinux386.c @@ -4,6 +4,9 @@ #include "elf.h" #include "ureg386.h" +#undef errno +#define errno uregerrno + typedef struct Lreg Lreg; typedef struct Status Status; typedef struct Psinfo Psinfo; -- cgit v1.2.3