[ovs-dev] [bug 7759 08/11] datapath-protocol: Remove socket header #include.

Ben Pfaff blp at nicira.com
Wed Oct 5 18:27:43 UTC 2011


It's not needed.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Bug #7559.
---
 include/openvswitch/datapath-protocol.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/openvswitch/datapath-protocol.h b/include/openvswitch/datapath-protocol.h
index acfc0f5..dc06d44 100644
--- a/include/openvswitch/datapath-protocol.h
+++ b/include/openvswitch/datapath-protocol.h
@@ -42,13 +42,11 @@
 
 #ifdef __KERNEL__
 #include <linux/types.h>
-#include <linux/socket.h>
 #define ovs_be16 __be16
 #define ovs_be32 __be32
 #define ovs_be64 __be64
 #else
 #include "openvswitch/types.h"
-#include <sys/socket.h>
 #endif
 
 /* datapaths. */
-- 
1.7.2.5




More information about the dev mailing list