about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-08-07T20·03+0200
committerGitHub <noreply@github.com>2019-08-07T20·03+0200
commitf9021c4c6c11e25680d1d0746002b89bee792051 (patch)
tree352efd80c4f058fe097d4939722528d995ea7a86 /src
parent1eeaf99cf89630f84b4a1b6882a0f98019725d9e (diff)
parentc3fefd1a6efec457395a187d15f435447dee6f3b (diff)
Merge pull request #3030 from dtzWill/fix/missing-include-ocloexec
pathlocks: add include to fcntl.h for O_CLOEXEC
Diffstat (limited to 'src')
-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>