| From | Mikko Rapeli <> | Subject | [PATCH 19/45] rds.h: include stdint.h in userspace | Date | Tue, 17 Feb 2015 00:05:22 +0100 |
| |
Fixes compilation error:
linux/rds.h:96:2: error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi> --- include/uapi/linux/rds.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h index 9195095..7ff0c70 100644 --- a/include/uapi/linux/rds.h +++ b/include/uapi/linux/rds.h @@ -34,7 +34,11 @@ #ifndef _LINUX_RDS_H #define _LINUX_RDS_H +#ifdef __KERNEL__ #include <linux/types.h> +#else +#include <stdint.h> +#endif #define RDS_IB_ABI_VERSION 0x301 -- 2.1.4
|