mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Include stdlib.h where its functions are used
Fixes build failure on OS X 10.10 and 10.11: error: use of undeclared identifier 'free' error: use of undeclared identifier 'malloc' error: use of undeclared identifier 'qsort'
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "GpThreadEvent_Cpp11.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
GpThreadEvent_Cpp11::GpThreadEvent_Cpp11(bool autoReset, bool startSignaled)
|
||||
: m_flag(startSignaled)
|
||||
, m_autoReset(autoReset)
|
||||
|
@@ -4,6 +4,7 @@
|
||||
#include "GpApplicationName.h"
|
||||
#include "GpIOStream.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <cstring>
|
||||
|
||||
|
@@ -10,6 +10,7 @@
|
||||
#include "DeflateCodec.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <stdlib.h>
|
||||
|
||||
namespace
|
||||
{
|
||||
|
Reference in New Issue
Block a user