diff options
Diffstat (limited to 'lib/libc/include')
-rw-r--r-- | lib/libc/include/namespace.h | 1 | ||||
-rw-r--r-- | lib/libc/include/un-namespace.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h index 9d01520..68babbe 100644 --- a/lib/libc/include/namespace.h +++ b/lib/libc/include/namespace.h @@ -38,6 +38,7 @@ * ISO C (C90) section. Most names in libc aren't in ISO C, so they * should be here. Most aren't here... */ +#define err _err #define warn _warn /* diff --git a/lib/libc/include/un-namespace.h b/lib/libc/include/un-namespace.h index 21f099c..855c101 100644 --- a/lib/libc/include/un-namespace.h +++ b/lib/libc/include/un-namespace.h @@ -136,6 +136,7 @@ int _kevent(int, const struct kevent *, int, struct kevent *, int _flock(int, int); #endif +#undef err #undef warn #endif /* _UN_NAMESPACE_H_ */ |