Skip to content

Commit ba42671

Browse files
committed
Include stdlib.h for malloc
malloc.h is deprecated and unportable
1 parent cd5bd54 commit ba42671

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/Downloader/Http/HttpDownloader.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,7 @@
2121
#include <curl/curl.h>
2222
#include <string>
2323
#include <sstream>
24-
25-
26-
#ifdef __APPLE__
27-
#include <malloc/malloc.h>
28-
#else
29-
#include <malloc.h>
30-
#endif
31-
24+
#include <stdlib.h>
3225

3326
CHttpDownloader::CHttpDownloader()
3427
{

0 commit comments

Comments
 (0)