summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amir.abdol@qt.io>2023-04-13 12:18:12 +0200
committerAmir Masoud Abdol <amir.abdol@qt.io>2023-04-13 20:16:08 +0200
commit4b00aaae9cbf30b4182281e9bb5299a009ff8f83 (patch)
tree07c08ec99b393163c05960eae0edd88f5df5f532 /src
parent8c4d81484cab865d83ea1f3c69063b1797c12a8e (diff)
Add the missing include guard
Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: I6a46784fa65aecd48a7f59021c4942ed52321742 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/wasm/qwasmopenglcontext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/wasm/qwasmopenglcontext.h b/src/plugins/platforms/wasm/qwasmopenglcontext.h
index 90863abdfe..022d669215 100644
--- a/src/plugins/platforms/wasm/qwasmopenglcontext.h
+++ b/src/plugins/platforms/wasm/qwasmopenglcontext.h
@@ -1,6 +1,9 @@
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+#ifndef QWASMOPENGLCONTEXT_H
+#define QWASMOPENGLCONTEXT_H
+
#include <qpa/qplatformopenglcontext.h>
#include <emscripten.h>
@@ -48,3 +51,4 @@ private:
QT_END_NAMESPACE
+#endif // QWASMOPENGLCONTEXT_H