git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename superclass member to up in netdev-tunnel
[sliver-openvswitch.git]
/
lib
/
vlandev.c
diff --git
a/lib/vlandev.c
b/lib/vlandev.c
index
77e8e93
..
2440def
100644
(file)
--- a/
lib/vlandev.c
+++ b/
lib/vlandev.c
@@
-23,13
+23,13
@@
#include <sys/stat.h>
#include "hash.h"
#include <sys/stat.h>
#include "hash.h"
-#include "rtnetlink-link.h"
#include "shash.h"
#include "vlog.h"
VLOG_DEFINE_THIS_MODULE(vlandev);
#include "shash.h"
#include "vlog.h"
VLOG_DEFINE_THIS_MODULE(vlandev);
-#ifdef __linux__
+#ifdef LINUX_DATAPATH
+#include "rtnetlink-link.h"
#include <linux/if_vlan.h>
#include <linux/sockios.h>
#include "netdev-linux.h"
#include <linux/if_vlan.h>
#include <linux/sockios.h>
#include "netdev-linux.h"
@@
-208,7
+208,7
@@
vlandev_del(const char *vlan_dev)
}
return error;
}
}
return error;
}
-#else /* !
__linux__
*/
+#else /* !
LINUX_DATAPATH
*/
/* Stubs. */
int
/* Stubs. */
int