Create the sys/types.h portability header
authorChristopher Dykes <cdykes@fb.com>
Fri, 4 Mar 2016 23:43:26 +0000 (15:43 -0800)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Fri, 4 Mar 2016 23:50:25 +0000 (15:50 -0800)
commit30ec44d3646f1eb6b6a4ef02d7589c53a84ee8fe
treec2cf21eb6131037ca4528d7de385080fff925781
parent2f595596190c768c6c074c93c878ef8b9144fe55
Create the sys/types.h portability header

Summary: Windows has it, but it doesn't define pid_t. It also doesn't define ssize_t, and it's not worth a separate header for a single typedef, so define it here as well.

Reviewed By: yfeldblum

Differential Revision: D3001168

fb-gh-sync-id: 3722270181c200bbcf39043960f81609c854b132
shipit-source-id: 3722270181c200bbcf39043960f81609c854b132
folly/Makefile.am
folly/Portability.h
folly/portability/SysTypes.h [new file with mode: 0755]