summaryrefslogtreecommitdiff
path: root/include/windows
diff options
context:
space:
mode:
authorGurucharan Shetty <gshetty@nicira.com>2014-03-12 09:51:13 -0700
committerGurucharan Shetty <gshetty@nicira.com>2014-03-13 14:23:30 -0700
commitd9d404aecc0bc5df44b302f8e0e2316926ec81f4 (patch)
treeb05605417b48261923b2131601685dba1e760eff /include/windows
parent03f234dcb8e59c3c25bde14a20a967ea4ee82710 (diff)
downloadopenvswitch-d9d404aecc0bc5df44b302f8e0e2316926ec81f4.tar.gz
windows/net: Definition for IFNAMSIZ.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include/windows')
-rw-r--r--include/windows/net/if.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/windows/net/if.h b/include/windows/net/if.h
index e69de29bb..893ffe4d1 100644
--- a/include/windows/net/if.h
+++ b/include/windows/net/if.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2014 Nicira, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __NET_IF_H
+#define __NET_IF_H 1
+
+#include <Netioapi.h>
+
+#define IFNAMSIZ IF_NAMESIZE
+
+#endif /* net/if.h */