Commit c2cea839 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot 1

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
parent 7b8c8076
...@@ -16,6 +16,12 @@ ...@@ -16,6 +16,12 @@
#pragma once #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 <folly/portability/SysTypes.h>
#include <assert.h> #include <assert.h>
#include <boost/noncopyable.hpp> #include <boost/noncopyable.hpp>
#include <errno.h> #include <errno.h>
......
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