Skip to content

Commit

Permalink
IPC_HLE_net_ssl: Include mbedtls/platform.h
Browse files Browse the repository at this point in the history
My version of mbedtls seems to require this -- otherwise, it doesn't compile.
  • Loading branch information
magcius committed Sep 4, 2016
1 parent f5fa5a7 commit 980ecfb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net_ssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 980ecfb

Please sign in to comment.