summaryrefslogtreecommitdiffstats
path: root/examples/opengl/openglwindow/openglwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/openglwindow/openglwindow.h')
-rw-r--r--examples/opengl/openglwindow/openglwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/opengl/openglwindow/openglwindow.h b/examples/opengl/openglwindow/openglwindow.h
index 7206fc57ef..579f9eede4 100644
--- a/examples/opengl/openglwindow/openglwindow.h
+++ b/examples/opengl/openglwindow/openglwindow.h
@@ -1,6 +1,9 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+#ifndef OPENGLWINDOW_H
+#define OPENGLWINDOW_H
+
#include <QWindow>
#include <QOpenGLFunctions>
@@ -42,3 +45,4 @@ private:
};
//! [1]
+#endif // OPENGLWINDOW_H