Fix the includes in portability/Malloc.h
authorChristopher Dykes <cdykes@fb.com>
Wed, 13 Apr 2016 17:19:24 +0000 (10:19 -0700)
committerFacebook Github Bot 4 <facebook-github-bot-4-bot@fb.com>
Wed, 13 Apr 2016 17:26:08 +0000 (10:26 -0700)
Summary:We use `size_t` but didn't include `<stdlib.h>`.
Fix #385

Reviewed By: markisaa

Differential Revision: D3171643

fb-gh-sync-id: 1f915f9602c4be59a21cdf77b31fe18816f35f81
fbshipit-source-id: 1f915f9602c4be59a21cdf77b31fe18816f35f81

folly/portability/Malloc.h

index eaf658ec63d1802dd0c48355ea5a68348fe70e20..e310dff90a81062da6218df78fd46224673de329 100755 (executable)
@@ -16,6 +16,8 @@
 
 #pragma once
 
+#include <stdlib.h>
+
 #ifndef __APPLE__
 #include <malloc.h>
 #endif