From: Zonr Chang <zonr.net@gmail.com>
Date: Mon, 9 Jan 2017 18:28:20 +0000 (-0800)
Subject: Include <errno.h> for using "errno" and ENOMEM.
X-Git-Tag: v2017.03.06.00~115
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=94dad222210c30b64b30a6b7d73ebd5b13db6149;p=folly.git

Include <errno.h> for using "errno" and ENOMEM.

Summary: Closes https://github.com/facebook/folly/pull/537

Reviewed By: yfeldblum

Differential Revision: D4391871

Pulled By: Orvid

fbshipit-source-id: 80401dd65ae376f9ebbb0b079577d0a1fd15475b
---

diff --git a/folly/IndexedMemPool.h b/folly/IndexedMemPool.h
index 5babcb2c..3a7524e1 100644
--- a/folly/IndexedMemPool.h
+++ b/folly/IndexedMemPool.h
@@ -17,8 +17,9 @@
 #pragma once
 
 #include <type_traits>
-#include <stdint.h>
 #include <assert.h>
+#include <errno.h>
+#include <stdint.h>
 #include <boost/noncopyable.hpp>
 #include <folly/AtomicStruct.h>
 #include <folly/detail/CacheLocality.h>