about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2019-08-07T12·34-0500
committerWill Dietz <w@wdtz.org>2019-08-07T12·41-0500
commitc3fefd1a6efec457395a187d15f435447dee6f3b (patch)
tree95035691e01cc605d8398e90a91f5f0613e7030e /src/libstore
parent399b6f3c46077e10a7047e8216fc1a67425a768a (diff)
pathlocks: add include to fcntl.h for O_CLOEXEC
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/pathlocks.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/pathlocks.cc b/src/libstore/pathlocks.cc
index b6d8547c70e6..2635e3940af8 100644
--- a/src/libstore/pathlocks.cc
+++ b/src/libstore/pathlocks.cc
@@ -5,6 +5,7 @@
 #include <cerrno>
 #include <cstdlib>
 
+#include <fcntl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/file.h>