xref: /openbmc/u-boot/include/errno.h (revision 6aa3d3bfaa986f1aff5e21a9b9f68d087715b1a9)
1 #ifndef _ERRNO_H
2 
3 #include <asm-generic/errno.h>
4 
5 extern int errno;
6 
7 #define __set_errno(val) do { errno = val; } while (0)
8 
9 #endif /* _ERRNO_H */
10