diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h index 00c034e93d7a..f9f5fd775712 100644 --- a/lib/libc/include/namespace.h +++ b/lib/libc/include/namespace.h @@ -123,6 +123,7 @@ #define socket _socket #define socketpair _socketpair #define wait4 _wait4 +#define waitpid _waitpid #define write _write #define writev _writev @@ -156,7 +157,6 @@ #define system _system #define tcdrain _tcdrain #define wait _wait -#define waitpid _waitpid #endif #endif /* _NAMESPACE_H_ */ diff --git a/lib/libc/include/un-namespace.h b/lib/libc/include/un-namespace.h index 2809e0d0b1bc..4bf789dee2dc 100644 --- a/lib/libc/include/un-namespace.h +++ b/lib/libc/include/un-namespace.h @@ -105,6 +105,7 @@ #undef socket #undef socketpair #undef wait4 +#undef waitpid #undef write #undef writev @@ -130,7 +131,6 @@ #undef system #undef tcdrain #undef wait -#undef waitpid #endif /* 0 */ #ifdef _SIGNAL_H_