Skip to content
Snippets Groups Projects
Commit 2307ea40 authored by Joe Hershberger's avatar Joe Hershberger
Browse files

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: default avatarJoe Hershberger <joe.hershberger@ni.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent e8009bef
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,7 @@ typedef volatile unsigned short vu_short; ...@@ -16,6 +16,7 @@ typedef volatile unsigned short vu_short;
typedef volatile unsigned char vu_char; typedef volatile unsigned char vu_char;
#include <config.h> #include <config.h>
#include <errno.h>
#include <asm-offsets.h> #include <asm-offsets.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/types.h> #include <linux/types.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment