Commit 0b57311a authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot 3

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
parent 5bb10c1e
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
#include <iterator> #include <iterator>
#include <memory> #include <memory>
#include <folly/portability/SysTypes.h>
/* /*
* Similar to Python's enumerate(), folly::enumerate() can be used to * Similar to Python's enumerate(), folly::enumerate() can be used to
* iterate a range with a for-range loop, and it also allows to * iterate a range with a for-range loop, and it also allows to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment