projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5bb10c1
)
Include sys/types.h portability header in Enumerate
author
Christopher Dykes
<cdykes@fb.com>
Tue, 26 Jul 2016 15:36:28 +0000
(08:36 -0700)
committer
Facebook Github Bot 3
<facebook-github-bot-3-bot@fb.com>
Tue, 26 Jul 2016 15:38:39 +0000
(08:38 -0700)
Summary: Because it's using `ssize_t`, which MSVC defines weirdly.
Reviewed By: yfeldblum
Differential Revision:
D3614050
fbshipit-source-id:
422621ea0dc92b374fa6dfc32a5391c1093d039e
folly/Enumerate.h
patch
|
blob
|
history
diff --git
a/folly/Enumerate.h
b/folly/Enumerate.h
index 7d4ae4d03b99763ec26f4e80f0045e46b4a1435c..2a2ce2201f79726b67a6958ac8b6d71602946c53 100644
(file)
--- a/
folly/Enumerate.h
+++ b/
folly/Enumerate.h
@@
-19,6
+19,8
@@
#include <iterator>
#include <memory>
#include <iterator>
#include <memory>
+#include <folly/portability/SysTypes.h>
+
/*
* Similar to Python's enumerate(), folly::enumerate() can be used to
* iterate a range with a for-range loop, and it also allows 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