Include <errno.h> for using "errno" and ENOMEM.
authorZonr Chang <zonr.net@gmail.com>
Mon, 9 Jan 2017 18:28:20 +0000 (10:28 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 9 Jan 2017 18:33:01 +0000 (10:33 -0800)
Summary: Closes https://github.com/facebook/folly/pull/537

Reviewed By: yfeldblum

Differential Revision: D4391871

Pulled By: Orvid

fbshipit-source-id: 80401dd65ae376f9ebbb0b079577d0a1fd15475b

folly/IndexedMemPool.h

index 5babcb2cdbdfe33652a6bbd2edc253a1c6c674ef..3a7524e1219ef46ed344d3eb889001fe1e48e543 100644 (file)
@@ -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>