Thread (1 message) 1 message, 1 author, 2015-05-30
STALE3966d

Revision v03 of 3 in this series.

Revisions (3)
  1. v03 current
  2. v4 [diff vs current]
  3. v05 [diff vs current]

[PATCH 40/98] include/uapi/linux/rds.h: include linux/socket.h and linux/types.h

From: Mikko Rapeli <hidden>
Date: 2015-05-30 15:45:53
Also in: lkml
Subsystem: the rest · Maintainer: Linus Torvalds

Fixes userspace compilation errors like:

error: unknown type name ‘__be32’
error: field ‘dest_addr’ has incomplete type
   struct sockaddr_storage dest_addr;

Signed-off-by: Mikko Rapeli <redacted>
---
 include/uapi/linux/rds.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h
index 0f0da42..0b2ff1f 100644
--- a/include/uapi/linux/rds.h
+++ b/include/uapi/linux/rds.h
@@ -35,6 +35,7 @@
 #define _LINUX_RDS_H
 
 #include <linux/types.h>
+#include <linux/socket.h>
 
 #define RDS_IB_ABI_VERSION		0x301
 
-- 
2.1.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help