From 0b57311adc27a919af379ecd9188ff686545d688 Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Tue, 26 Jul 2016 08:36:28 -0700 Subject: [PATCH] Include sys/types.h portability header in Enumerate Summary: Because it's using `ssize_t`, which MSVC defines weirdly. Reviewed By: yfeldblum Differential Revision: D3614050 fbshipit-source-id: 422621ea0dc92b374fa6dfc32a5391c1093d039e --- folly/Enumerate.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/folly/Enumerate.h b/folly/Enumerate.h index 7d4ae4d0..2a2ce220 100644 --- a/folly/Enumerate.h +++ b/folly/Enumerate.h @@ -19,6 +19,8 @@ #include #include +#include + /* * Similar to Python's enumerate(), folly::enumerate() can be used to * iterate a range with a for-range loop, and it also allows to -- 2.34.1