libc: add errno include

This solves missing `__errno` symbol linker errors

Signed-off-by: Karol Gugala <kgugala@antmicro.com>
This commit is contained in:
Karol Gugala 2021-09-28 14:11:31 +02:00
parent a588c3b830
commit 22f50ec7ff
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
*/
#include <stddef.h>
#include <errno.h>
int getentropy(void *v, size_t s) {
return -1;