From: Christopher Dykes Date: Fri, 22 Jul 2016 17:14:15 +0000 (-0700) Subject: Include the sys/types.h portability header X-Git-Tag: 2016.07.26~14 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c2cea83927c96dc5f06251be652c6327ddb0fffc;p=folly.git Include the sys/types.h portability header Summary: As the comment in the file says, this has to be included in a weird order due to issues on Windows. Reviewed By: yfeldblum Differential Revision: D3601008 fbshipit-source-id: fca4b6d906eb0d1f001c28197987165cd075752d --- diff --git a/folly/test/DeterministicSchedule.h b/folly/test/DeterministicSchedule.h index c6a1aeb2..762d337f 100644 --- a/folly/test/DeterministicSchedule.h +++ b/folly/test/DeterministicSchedule.h @@ -16,6 +16,12 @@ #pragma once +// This needs to be above semaphore.h due to the windows +// libevent implementation needing mode_t to be defined, +// but defining it differently than our portability +// headers do. +#include + #include #include #include