diff --git a/src/obs-websocket.h b/src/obs-websocket.h
index 500d51e4..c8ca95b4 100644
--- a/src/obs-websocket.h
+++ b/src/obs-websocket.h
@@ -26,7 +26,7 @@ with this program. If not, see
#include "utils/Obs.h"
#include "plugin-macros.generated.h"
-class Config;
+struct Config;
typedef std::shared_ptr ConfigPtr;
class EventHandler;