Skip to content

Commit

Permalink
Reorder headers
Browse files Browse the repository at this point in the history
Include the system headers first to avoid compiling C++ headers with
our memory hooks defined.

This fixes the same issue as pull #311
  • Loading branch information
zpostfacto committed Mar 14, 2024
1 parent 04a8c97 commit 7aadb55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/common/opensslwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
//
//=============================================================================

#include <mutex>
#include <thread>

#include <tier0/dbg.h>
#include "opensslwrapper.h"
#include <openssl/crypto.h>
Expand All @@ -12,9 +15,6 @@
#include <openssl/rand.h>
#include "crypto.h"

#include <mutex>
#include <thread>

// Statics - all automatically zero-init
int COpenSSLWrapper::m_nInstances;
static std::recursive_mutex *s_pMutexArray;
Expand Down

0 comments on commit 7aadb55

Please sign in to comment.