vlandev: Move Linux #include under #ifdef __linux__
authorEd Maste <emaste@freebsd.org>
Fri, 29 Jun 2012 21:13:54 +0000 (21:13 +0000)
committerBen Pfaff <blp@nicira.com>
Fri, 29 Jun 2012 21:36:07 +0000 (14:36 -0700)
Signed-off-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/vlandev.c

index 77e8e9320bd8c56ce462b1472d9b8b389ec58b71..ffb8e737b7375f9a91a31a56753f0956ea8e61d2 100644 (file)
 #include <sys/stat.h>
 
 #include "hash.h"
-#include "rtnetlink-link.h"
 #include "shash.h"
 #include "vlog.h"
 
 VLOG_DEFINE_THIS_MODULE(vlandev);
 
 #ifdef __linux__
+#include "rtnetlink-link.h"
 #include <linux/if_vlan.h>
 #include <linux/sockios.h>
 #include "netdev-linux.h"