diff options
Diffstat (limited to 'src/roms/u-boot/include/errno.h')
-rw-r--r-- | src/roms/u-boot/include/errno.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/roms/u-boot/include/errno.h b/src/roms/u-boot/include/errno.h new file mode 100644 index 0000000..e24a33b --- /dev/null +++ b/src/roms/u-boot/include/errno.h @@ -0,0 +1,9 @@ +#ifndef _ERRNO_H + +#include <asm-generic/errno.h> + +extern int errno; + +#define __set_errno(val) do { errno = val; } while (0) + +#endif /* _ERRNO_H */ |