Skip to content

Commit

Permalink
Include stdlib.h for malloc
Browse files Browse the repository at this point in the history
malloc.h is deprecated and unportable
  • Loading branch information
AMDmi3 committed Jan 29, 2013
1 parent cd5bd54 commit ba42671
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Downloader/Http/HttpDownloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,7 @@
#include <curl/curl.h>
#include <string>
#include <sstream>


#ifdef __APPLE__
#include <malloc/malloc.h>
#else
#include <malloc.h>
#endif

#include <stdlib.h>

CHttpDownloader::CHttpDownloader()
{
Expand Down

0 comments on commit ba42671

Please sign in to comment.