summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-04-09 19:54:59 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-04-09 19:54:59 +0200
commit13643f9c0c6ba63065ec2537de08d177de729294 (patch)
treeb97aed055475bbee0b721164efb0c2cbd4c0ba4f
parent31821b094b1810b829fbb0fa8d217a9692c8816a (diff)
downloadfork-godot-webrtc-native-13643f9c0c6ba63065ec2537de08d177de729294.tar.gz
fork-godot-webrtc-native-13643f9c0c6ba63065ec2537de08d177de729294.tar.bz2
fork-godot-webrtc-native-13643f9c0c6ba63065ec2537de08d177de729294.zip
Fix windows build
-rw-r--r--src/WebRTCLibPeer.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/WebRTCLibPeer.hpp b/src/WebRTCLibPeer.hpp
index 437e80a..9707f4f 100644
--- a/src/WebRTCLibPeer.hpp
+++ b/src/WebRTCLibPeer.hpp
@@ -1,13 +1,14 @@
#ifndef WEBRTC_PEER_H
#define WEBRTC_PEER_H
+#include <Godot.hpp> // Godot.hpp must go first, or windows builds breaks
+
#include "api/peerconnectioninterface.h" // interface for all things needed from WebRTC
#include "media/base/mediaengine.h" // needed for CreateModularPeerConnectionFactory
#include <functional> // std::function
#include <mutex> // mutex @TODO replace std::mutex with Godot mutex
#include "net/WebRTCPeerNative.hpp"
-#include <Godot.hpp>
namespace godot_webrtc {