[PATCH v4 38/79] include/uapi/linux/rds.h: include linux/socket.h and linux/types.h

Subsystems: the rest

STALE3942d

Revision v4 of 3 in this series.

2 messages, 2 authors, 2015-10-15 · open the first message on its own page

[PATCH v4 38/79] include/uapi/linux/rds.h: include linux/socket.h and linux/types.h

From: Mikko Rapeli <hidden>
Date: 2015-10-15 05:59:22

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 539f9f8..3bf329f 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.5.0

Re: [PATCH v4 38/79] include/uapi/linux/rds.h: include linux/socket.h and linux/types.h

From: Sowmini Varadhan <hidden>
Date: 2015-10-15 11:10:40

On (10/15/15 07:56), Mikko Rapeli wrote:
Fixes userspace compilation errors like:

error: unknown type name ‘__be32’
error: field ‘dest_addr’ has incomplete type
   struct sockaddr_storage dest_addr;
Acked-by: Sowmini Varadhan <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help