diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2016-04-04 04:07:33 -0500 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2016-07-06 10:44:56 -0500 |
commit | 2307ea4053cdf45174f842312d07f538bf5be5f6 (patch) | |
tree | 7a39df8e8309881ae45c30850324a879fdef826f /include/common.h | |
parent | e8009beff6d5c55c1bf1ae8184791f167e6378b0 (diff) | |
download | u-boot-2307ea4053cdf45174f842312d07f538bf5be5f6.tar.gz |
common: Always include errno.h in common.h
We want people using errnos for errors instead of -1, so make it easy
by always including the definition of all the errnos.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index f9f4605dba..3feaae641c 100644 --- a/include/common.h +++ b/include/common.h @@ -16,6 +16,7 @@ typedef volatile unsigned short vu_short; typedef volatile unsigned char vu_char; #include <config.h> +#include <errno.h> #include <asm-offsets.h> #include <linux/bitops.h> #include <linux/types.h> |