Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Adam <dev@robert-adam.de>2020-08-30 19:19:04 +0300
committerRobert <krzmbrzl@gmail.com>2020-09-11 19:28:38 +0300
commite6cb50bc493923b544994f25b399bd0afaea991a (patch)
treed58bad83bf2e17f3f9fd1e82298f33d26c562253 /overlay
parent2908aa3acb70a04a09ff11d1fffb7067018cd9a4 (diff)
FIX(code): Wrong include order in opengl.cpp
Furthermore this commit replaced the deprecated time.h header with ctime
Diffstat (limited to 'overlay')
-rw-r--r--overlay/opengl.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/overlay/opengl.cpp b/overlay/opengl.cpp
index ffc55aa74..494e4e25b 100644
--- a/overlay/opengl.cpp
+++ b/overlay/opengl.cpp
@@ -3,9 +3,13 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
+// Needs to be included before GL/gl.h
#include "lib.h"
-#include <time.h>
+// Needs to be included before glext.h
#include <GL/gl.h>
+
+#include <ctime>
+
#include "../3rdparty/GL/glext.h"
#define TDEF(ret, name, arg) typedef ret (__stdcall * t##name) arg