From c2cea83927c96dc5f06251be652c6327ddb0fffc Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Fri, 22 Jul 2016 10:14:15 -0700 Subject: [PATCH] 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 --- folly/test/DeterministicSchedule.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.34.1