
4 Apr
2016
4 Apr
'16
11:07 a.m.
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 ---
include/common.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/include/common.h b/include/common.h index f9f4605..3feaae6 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>
--
1.7.11.5