From cb8c2454618c1d862b926d61ac95411b384d0414 Mon Sep 17 00:00:00 2001 From: Ken Brown Date: Wed, 8 Jun 2016 17:04:06 -0400 Subject: [PATCH] Make declare crypt This is mandated by Posix and is done by the glibc and FreeBSD headers. --- newlib/libc/include/sys/unistd.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index ef00575..0cbb5de 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -31,6 +31,9 @@ int _EXFUN(close, (int __fildes )); #if __POSIX_VISIBLE >= 199209 size_t _EXFUN(confstr, (int __name, char *__buf, size_t __len)); #endif +#if __XSI_VISIBLE +#include +#endif #if __XSI_VISIBLE && __XSI_VISIBLE < 700 char * _EXFUN(ctermid, (char *__s )); #endif -- 2.8.3