From 9849dedf1de04d0fa0e9933e5e65f9a8a504c85c Mon Sep 17 00:00:00 2001 From: Andrej Mihajlov Date: Wed, 2 Dec 2020 17:24:31 +0100 Subject: [PATCH] WireGuardApp: Include headers from WireGuardKitC Signed-off-by: Andrej Mihajlov --- Sources/WireGuardApp/WireGuard-Bridging-Header.h | 3 ++- .../WireGuardNetworkExtension-Bridging-Header.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Sources/WireGuardApp/WireGuard-Bridging-Header.h b/Sources/WireGuardApp/WireGuard-Bridging-Header.h index 25b5230..defe847 100644 --- a/Sources/WireGuardApp/WireGuard-Bridging-Header.h +++ b/Sources/WireGuardApp/WireGuard-Bridging-Header.h @@ -1,4 +1,5 @@ -#include "key.h" +#include "../WireGuardKitC/WireGuardKitC.h" +#include "wireguard-go-version.h" #include "unzip.h" #include "zip.h" diff --git a/Sources/WireGuardNetworkExtension/WireGuardNetworkExtension-Bridging-Header.h b/Sources/WireGuardNetworkExtension/WireGuardNetworkExtension-Bridging-Header.h index 51ce01f..659b5ee 100644 --- a/Sources/WireGuardNetworkExtension/WireGuardNetworkExtension-Bridging-Header.h +++ b/Sources/WireGuardNetworkExtension/WireGuardNetworkExtension-Bridging-Header.h @@ -1,2 +1,4 @@ -//#include "../WireGuardKitC/WireGuardKitC.h" +#include "../WireGuardKitC/WireGuardKitC.h" +#include "../WireGuardKitGo/wireguard.h" + #include "ringlogger.h"