Commit dc5b3433 authored by Sara Golemon's avatar Sara Golemon

Add missing include for flock()

Summary: flock() expects sys/file.h which on many platforms
is getting included as a side-effect, but on at least one
this isn't the case.

Add the explicit include to fix builds on those platforms.

Closes #232

Facebook

Unrelated runtime failures.

Reviewed By: @JoelMarcey

Differential Revision: D2196306
parent 231b7c5a
......@@ -18,6 +18,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <sys/file.h>
#include <folly/Exception.h>
#include <folly/FileUtil.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