projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6fa0f9
)
Work around header type clashes in Xen builds
author
Keith Amidon
<keith@nicira.com>
Wed, 4 Mar 2009 18:58:53 +0000
(10:58 -0800)
committer
Keith Amidon
<keith@nicira.com>
Wed, 4 Mar 2009 18:58:53 +0000
(10:58 -0800)
include/openflow/datapath-protocol.h
patch
|
blob
|
history
diff --git
a/include/openflow/datapath-protocol.h
b/include/openflow/datapath-protocol.h
index da6207915aaac2a79a803e2698e29ccc67bdc2dd..ec3d72520dee4b8f5b8c254c727533c8af5f7dad 100644
(file)
--- a/
include/openflow/datapath-protocol.h
+++ b/
include/openflow/datapath-protocol.h
@@
-36,7
+36,11
@@
#ifndef OPENFLOW_DATAPATH_PROTOCOL_H
#define OPENFLOW_DATAPATH_PROTOCOL_H 1
+#ifdef __KERNEL__
#include <linux/types.h>
+#else
+#include <sys/types.h>
+#endif
#include <linux/if_ether.h>
#define ODP_MAX 256 /* Maximum number of datapaths. */