From 6278781655261a5011376b2fa2600996e32ca889 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 6 Apr 2001 20:28:45 +0000 Subject: Fix include/errno.h to not use kernel header, and instead use bits/errno.h. This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik --- libc/misc/regex/regex.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/misc/regex') diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c index 64e754ee0..19e3e0cbb 100644 --- a/libc/misc/regex/regex.c +++ b/libc/misc/regex/regex.c @@ -19,6 +19,9 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* To exclude some unwanted junk.... */ +#undef _LIBC + /* AIX requires this to be the first thing in the file. */ #if defined _AIX && !defined REGEX_MALLOC #pragma alloca -- cgit v1.2.3