[Openvpn-devel] msvc: Add vlan.c/h

Message ID 20191107132901.1280-1-simon@rozman.si
State Accepted
Headers show
Series [Openvpn-devel] msvc: Add vlan.c/h | expand

Commit Message

Simon Rozman Nov. 7, 2019, 2:29 a.m. UTC
This upgrades 99f28081477ca325a14b13c38abec2c9b619eb01 to support MSVC
building.

Signed-off-by: Simon Rozman <simon@rozman.si>
---
 src/openvpn/openvpn.vcxproj         | 2 ++
 src/openvpn/openvpn.vcxproj.filters | 6 ++++++
 2 files changed, 8 insertions(+)

Comments

Lev Stipakov Nov. 7, 2019, 2:33 a.m. UTC | #1
Acked-by: Lev Stipakov <lev@openvpn.net>

to 7. marrask. 2019 klo 15.30 Simon Rozman (simon@rozman.si) kirjoitti:

> This upgrades 99f28081477ca325a14b13c38abec2c9b619eb01 to support MSVC
> building.
>
> Signed-off-by: Simon Rozman <simon@rozman.si>
> ---
>  src/openvpn/openvpn.vcxproj         | 2 ++
>  src/openvpn/openvpn.vcxproj.filters | 6 ++++++
>  2 files changed, 8 insertions(+)
>
> diff --git a/src/openvpn/openvpn.vcxproj b/src/openvpn/openvpn.vcxproj
> index 85af466f..48e8e140 100644
> --- a/src/openvpn/openvpn.vcxproj
> +++ b/src/openvpn/openvpn.vcxproj
> @@ -196,6 +196,7 @@
>      <ClCompile Include="status.c" />
>      <ClCompile Include="tls_crypt.c" />
>      <ClCompile Include="tun.c" />
> +    <ClCompile Include="vlan.c" />
>      <ClCompile Include="win32.c" />
>    </ItemGroup>
>    <ItemGroup>
> @@ -283,6 +284,7 @@
>      <ClInclude Include="syshead.h" />
>      <ClInclude Include="tls_crypt.h" />
>      <ClInclude Include="tun.h" />
> +    <ClInclude Include="vlan.h" />
>      <ClInclude Include="win32.h" />
>    </ItemGroup>
>    <ItemGroup>
> diff --git a/src/openvpn/openvpn.vcxproj.filters
> b/src/openvpn/openvpn.vcxproj.filters
> index e6068aff..653e892c 100644
> --- a/src/openvpn/openvpn.vcxproj.filters
> +++ b/src/openvpn/openvpn.vcxproj.filters
> @@ -237,6 +237,9 @@
>      <ClCompile Include="auth_token.c">
>        <Filter>Source Files</Filter>
>      </ClCompile>
> +    <ClCompile Include="vlan.c">
> +      <Filter>Source Files</Filter>
> +    </ClCompile>
>    </ItemGroup>
>    <ItemGroup>
>      <ClInclude Include="base64.h">
> @@ -494,6 +497,9 @@
>      <ClInclude Include="auth_token.h">
>        <Filter>Header Files</Filter>
>      </ClInclude>
> +    <ClInclude Include="vlan.h">
> +      <Filter>Header Files</Filter>
> +    </ClInclude>
>    </ItemGroup>
>    <ItemGroup>
>      <ResourceCompile Include="openvpn_win32_resources.rc">
> --
> 2.23.0.windows.1
>
>
>
> _______________________________________________
> Openvpn-devel mailing list
> Openvpn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openvpn-devel
>
Gert Doering Nov. 7, 2019, 3:50 a.m. UTC | #2
Thanks!

Your patch has been applied to the master branch.

commit 2b11e57c02b2d21e384a2fc860feeeeea1209f55
Author: Simon Rozman
Date:   Thu Nov 7 14:29:01 2019 +0100

     msvc: Add vlan.c/h

     Signed-off-by: Simon Rozman <simon@rozman.si>
     Acked-by: Lev Stipakov <lstipakov@gmail.com>
     Message-Id: <20191107132901.1280-1-simon@rozman.si>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19015.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>


--
kind regards,

Gert Doering

Patch

diff --git a/src/openvpn/openvpn.vcxproj b/src/openvpn/openvpn.vcxproj
index 85af466f..48e8e140 100644
--- a/src/openvpn/openvpn.vcxproj
+++ b/src/openvpn/openvpn.vcxproj
@@ -196,6 +196,7 @@ 
     <ClCompile Include="status.c" />
     <ClCompile Include="tls_crypt.c" />
     <ClCompile Include="tun.c" />
+    <ClCompile Include="vlan.c" />
     <ClCompile Include="win32.c" />
   </ItemGroup>
   <ItemGroup>
@@ -283,6 +284,7 @@ 
     <ClInclude Include="syshead.h" />
     <ClInclude Include="tls_crypt.h" />
     <ClInclude Include="tun.h" />
+    <ClInclude Include="vlan.h" />
     <ClInclude Include="win32.h" />
   </ItemGroup>
   <ItemGroup>
diff --git a/src/openvpn/openvpn.vcxproj.filters b/src/openvpn/openvpn.vcxproj.filters
index e6068aff..653e892c 100644
--- a/src/openvpn/openvpn.vcxproj.filters
+++ b/src/openvpn/openvpn.vcxproj.filters
@@ -237,6 +237,9 @@ 
     <ClCompile Include="auth_token.c">
       <Filter>Source Files</Filter>
     </ClCompile>
+    <ClCompile Include="vlan.c">
+      <Filter>Source Files</Filter>
+    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="base64.h">
@@ -494,6 +497,9 @@ 
     <ClInclude Include="auth_token.h">
       <Filter>Header Files</Filter>
     </ClInclude>
+    <ClInclude Include="vlan.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
   </ItemGroup>
   <ItemGroup>
     <ResourceCompile Include="openvpn_win32_resources.rc">