diff options
Diffstat (limited to 'qemu/roms/u-boot/include/errno.h')
-rw-r--r-- | qemu/roms/u-boot/include/errno.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/include/errno.h b/qemu/roms/u-boot/include/errno.h new file mode 100644 index 000000000..e24a33b38 --- /dev/null +++ b/qemu/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 */ |