Skip to content

Commit

Permalink
Merge branch 'fix-wg-header' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Apr 18, 2024
2 parents b9ddc24 + c80d2d3 commit 39afae6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/daemon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,6 @@ jobs:
- name: Checkout submodules
run: git submodule update --init --depth=1

- name: Checkout wireguard-nt
working-directory: dist-assets/binaries
run: git submodule update --init -- wireguard-nt

- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion dist-assets/binaries
6 changes: 3 additions & 3 deletions windows/driverlogic/driverlogic.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalIncludeDirectories>$(ProjectDir)../../dist-assets/binaries/x86_64-pc-windows-msvc/;$(ProjectDir)../../dist-assets/binaries/wireguard-nt/api/;$(ProjectDir)../windows-libraries/src/;$(ProjectDir)../</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ProjectDir)../../dist-assets/binaries/x86_64-pc-windows-msvc/;$(ProjectDir)../windows-libraries/src/;$(ProjectDir)../</AdditionalIncludeDirectories>
<LanguageStandard>stdcpp20</LanguageStandard>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
Expand All @@ -83,7 +83,7 @@
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp20</LanguageStandard>
<AdditionalIncludeDirectories>$(ProjectDir)../../dist-assets/binaries/x86_64-pc-windows-msvc/;$(ProjectDir)../../dist-assets/binaries/wireguard-nt/api/;$(ProjectDir)../windows-libraries/src/;$(ProjectDir)../</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ProjectDir)../../dist-assets/binaries/x86_64-pc-windows-msvc/;$(ProjectDir)../windows-libraries/src/;$(ProjectDir)../</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
Expand Down Expand Up @@ -115,7 +115,7 @@
<ClInclude Include="src\targetver.h" />
<ClInclude Include="src\util.h" />
<ClInclude Include="src\wintun.h" />
<ClInclude Include="src\wireguard_dll.h" />
<ClInclude Include="src\wireguard.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
Expand Down
2 changes: 1 addition & 1 deletion windows/driverlogic/driverlogic.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
<ClInclude Include="src\util.h" />
<ClInclude Include="src\wintun.h" />
<ClInclude Include="src\devenum.h" />
<ClInclude Include="src\wireguard_dll.h" />
<ClInclude Include="src\wireguard.h" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion windows/driverlogic/src/driverlogic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "service.h"
#include "log.h"
#include "wintun.h"
#include "wireguard_dll.h"
#include "wireguard.h"
#include "devenum.h"
#include <string>
#include <libcommon/error.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <wireguard.h>
#include <wireguard-nt/wireguard.h>
#include <libcommon/error.h>
#include "util.h"

Expand Down

0 comments on commit 39afae6

Please sign in to comment.