diff options
Diffstat (limited to 'libc/stdlib')
-rw-r--r-- | libc/stdlib/realpath.c | 2 | ||||
-rw-r--r-- | libc/stdlib/stdlib.c | 2 | ||||
-rw-r--r-- | libc/stdlib/strtod.c | 3 | ||||
-rw-r--r-- | libc/stdlib/unix_grantpt.c | 1 |
4 files changed, 8 insertions, 0 deletions
diff --git a/libc/stdlib/realpath.c b/libc/stdlib/realpath.c index 7266ba4c6..2a018b4b7 100644 --- a/libc/stdlib/realpath.c +++ b/libc/stdlib/realpath.c @@ -13,6 +13,8 @@ * GNU Library Public License for more details. */ +#define readlink __readlink + #ifdef HAVE_CONFIG_H #include <config.h> #endif diff --git a/libc/stdlib/stdlib.c b/libc/stdlib/stdlib.c index 04c85d32f..0c78c4c70 100644 --- a/libc/stdlib/stdlib.c +++ b/libc/stdlib/stdlib.c @@ -36,6 +36,8 @@ #define mbsrtowcs __mbsrtowcs #define mbrtowc __mbrtowc #define mbrlen __mbrlen +#define iswspace __iswspace +#define iswspace_l __iswspace_l #define _ISOC99_SOURCE /* for ULLONG primarily... */ #define _GNU_SOURCE diff --git a/libc/stdlib/strtod.c b/libc/stdlib/strtod.c index 47f809f3e..1468877bc 100644 --- a/libc/stdlib/strtod.c +++ b/libc/stdlib/strtod.c @@ -95,6 +95,9 @@ /**********************************************************************/ +#define iswspace __iswspace +#define iswspace_l __iswspace_l + #define _ISOC99_SOURCE 1 #define _GNU_SOURCE #include <stdlib.h> diff --git a/libc/stdlib/unix_grantpt.c b/libc/stdlib/unix_grantpt.c index 1f1c4df5c..bf451a4d3 100644 --- a/libc/stdlib/unix_grantpt.c +++ b/libc/stdlib/unix_grantpt.c @@ -22,6 +22,7 @@ #define getuid __getuid #define setrlimit __setrlimit #define waitpid __waitpid +#define dup2 __dup2 #include <assert.h> #include <errno.h> |