lkml.org 
[lkml]   [2015]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 19/45] rds.h: include stdint.h in userspace
Date
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


\
 
 \ /
  Last update: 2015-02-17 00:21    [W:0.331 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site