summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2016-09-03 15:15:13 -0700
committerJasper St. Pierre <jstpierre@mecheye.net>2016-09-04 10:44:22 -0700
commit980ecfba7f934f91c021bdeec06d0518dd570bac (patch)
tree90d3ac4e11f54e4f22a1c2923619342beab5beb3 /Source/Core
parentf5fa5a7d325bb0a7dd46b5f1723e52c370eb93b8 (diff)
IPC_HLE_net_ssl: Include mbedtls/platform.h
My version of mbedtls seems to require this -- otherwise, it doesn't compile.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net_ssl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net_ssl.h b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net_ssl.h
index e97c282cda..079e56b0b8 100644
--- a/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net_ssl.h
+++ b/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net_ssl.h
@@ -4,12 +4,18 @@
#pragma once
+// These imports need to be in this order for mbed to be included correctly.
+// clang-format off
+
+#include <mbedtls/platform.h>
#include <mbedtls/ctr_drbg.h>
#include <mbedtls/entropy.h>
#include <mbedtls/net.h>
#include <mbedtls/ssl.h>
#include <string>
+// clang-format on
+
#include "Core/IPC_HLE/WII_IPC_HLE_Device.h"
#define NET_SSL_MAXINSTANCES 4