X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvlandev.c;h=2440def5a918977ae35f5b48a055a17dc2c6a775;hb=f8e4867eafd076e94bdb5bcf7c7dc69ca7a9c8ae;hp=736b779479db5b1cfe6dbb87d253e14536b5910e;hpb=025e874a9cc814820aadba7083fdbcfbaa959259;p=openvswitch diff --git a/lib/vlandev.c b/lib/vlandev.c index 736b7794..2440def5 100644 --- a/lib/vlandev.c +++ b/lib/vlandev.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 Nicira Networks. + * Copyright (c) 2011 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,13 +23,13 @@ #include #include "hash.h" -#include "rtnetlink-link.h" #include "shash.h" #include "vlog.h" VLOG_DEFINE_THIS_MODULE(vlandev); -#ifdef __linux__ +#ifdef LINUX_DATAPATH +#include "rtnetlink-link.h" #include #include #include "netdev-linux.h" @@ -208,7 +208,7 @@ vlandev_del(const char *vlan_dev) } return error; } -#else /* !__linux__ */ +#else /* !LINUX_DATAPATH */ /* Stubs. */ int