summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2016-04-04 04:07:33 -0500
committerJoe Hershberger <joe.hershberger@ni.com>2016-07-06 10:44:56 -0500
commit2307ea4053cdf45174f842312d07f538bf5be5f6 (patch)
tree7a39df8e8309881ae45c30850324a879fdef826f
parente8009beff6d5c55c1bf1ae8184791f167e6378b0 (diff)
downloadtalos-obmc-uboot-2307ea4053cdf45174f842312d07f538bf5be5f6.tar.gz
talos-obmc-uboot-2307ea4053cdf45174f842312d07f538bf5be5f6.zip
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>
-rw-r--r--include/common.h1
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>
OpenPOWER on IntegriCloud