From 37e1e67558b7e1d2ff33aae3b17a39230b07b2f5 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 5 Sep 2022 15:44:32 -0400 Subject: [PATCH] Don't include steam api header on non-steam builds --- launcher/core/src/steamapi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/launcher/core/src/steamapi.cpp b/launcher/core/src/steamapi.cpp index d4e6cc5..6c16792 100644 --- a/launcher/core/src/steamapi.cpp +++ b/launcher/core/src/steamapi.cpp @@ -1,6 +1,8 @@ #include "steamapi.h" +#ifdef USE_STEAM #include +#endif SteamAPI::SteamAPI() { #ifdef USE_STEAM