aboutsummaryrefslogtreecommitdiff
path: root/src/discord_rich_presence.cpp
diff options
context:
space:
mode:
authorTrickyLeifa <date.epoch@gmail.com>2024-05-18 02:21:17 +0200
committerTrickyLeifa <date.epoch@gmail.com>2024-05-18 02:21:17 +0200
commitdb5ceb056955eff1018ea991e0117d6892366f2e (patch)
treeef2cf5202905b9d7bf02cc710cc302164ed991f8 /src/discord_rich_presence.cpp
parent657145035cd66c18ae777e1272fd5221dddca0ef (diff)
No longer required Discord-RPC headers when disabled
Diffstat (limited to 'src/discord_rich_presence.cpp')
-rw-r--r--src/discord_rich_presence.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/discord_rich_presence.cpp b/src/discord_rich_presence.cpp
index 6969334f..c22a6f66 100644
--- a/src/discord_rich_presence.cpp
+++ b/src/discord_rich_presence.cpp
@@ -1,8 +1,11 @@
#include "discord_rich_presence.h"
+#ifdef AO_ENABLE_DISCORD_RPC
+#include <discord_rpc.h>
+#endif
+
namespace AttorneyOnline
{
-
#if defined(AO_ENABLE_DISCORD_RPC) && !defined(ANDROID)
Discord::Discord()
{