From 1f4c6fd1548097ee2f1a04c658627d1591008c4c Mon Sep 17 00:00:00 2001
From: Tommy Vercetti <7903172+tommyvct@users.noreply.github.com>
Date: Sat, 22 May 2021 17:01:18 -0500
Subject: [PATCH] libobs: Fix connect() redefinition on MSVC
---
libobs/obs-hotkey-name-map.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libobs/obs-hotkey-name-map.c b/libobs/obs-hotkey-name-map.c
index a7e0683fa..51a104fe6 100644
--- a/libobs/obs-hotkey-name-map.c
+++ b/libobs/obs-hotkey-name-map.c
@@ -15,6 +15,10 @@
along with this program. If not, see .
******************************************************************************/
+#ifdef _MSC_VER
+#define WIN32_LEAN_AND_MEAN
+#endif
+
#include
#include