blob: 536235e1bfd8cad00c491f3f6a15169037b6b13c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
From 0704b421cb2bcdbf6ad406582214aa0e3f7dd7a1 Mon Sep 17 00:00:00 2001
From: Stelios Tsampas <loathingkernel@gmail.com>
Date: Thu, 28 Sep 2023 14:16:04 +0300
Subject: [PATCH 6/6] AUR: Fix hwnd redefinition
---
steam_helper/steam.cpp | 2 ++
vrclient_x64/vrclient_x64/json_converter.cpp | 2 ++
2 files changed, 4 insertions(+)
diff --git a/steam_helper/steam.cpp b/steam_helper/steam.cpp
index 65b9c179..01e3b927 100644
--- a/steam_helper/steam.cpp
+++ b/steam_helper/steam.cpp
@@ -34,7 +34,9 @@
#include "ntstatus.h"
#define WIN32_NO_STATUS
+extern "C" {
#include <windows.h>
+}
#include <winternl.h>
#include <shlwapi.h>
#include <shlobj.h>
diff --git a/vrclient_x64/vrclient_x64/json_converter.cpp b/vrclient_x64/vrclient_x64/json_converter.cpp
index 83fd2ec0..64d209a2 100644
--- a/vrclient_x64/vrclient_x64/json_converter.cpp
+++ b/vrclient_x64/vrclient_x64/json_converter.cpp
@@ -1,4 +1,6 @@
+extern "C" {
#include <windows.h>
+}
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
--
2.42.0
|