diff options
Diffstat (limited to 'system/include/libc/stdlib.h')
-rw-r--r-- | system/include/libc/stdlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/libc/stdlib.h b/system/include/libc/stdlib.h index cf7fe8b9..fb94b9f8 100644 --- a/system/include/libc/stdlib.h +++ b/system/include/libc/stdlib.h @@ -198,7 +198,7 @@ int _EXFUN(unsetenv,(const char *__string)); int _EXFUN(_unsetenv_r,(struct _reent *, const char *__string)); #endif -#ifdef __rtems__ +#if defined(__rtems__) || defined(EMSCRIPTEN) int _EXFUN(posix_memalign,(void **, size_t, size_t)); #endif |