[PATCH 19/45] rds.h: include stdint.h in userspace

From: Mikko Rapeli
Date: Mon Feb 16 2015 - 18:07:22 EST


Fixes compilation error:

linux/rds.h:96:2: error: unknown type name âuint8_tâ

Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/