diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-08-07 22:03:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-07 22:03:09 +0200 |
commit | f9021c4c6c11e25680d1d0746002b89bee792051 (patch) | |
tree | 352efd80c4f058fe097d4939722528d995ea7a86 | |
parent | 1eeaf99cf89630f84b4a1b6882a0f98019725d9e (diff) | |
parent | c3fefd1a6efec457395a187d15f435447dee6f3b (diff) |
Merge pull request #3030 from dtzWill/fix/missing-include-ocloexec
pathlocks: add include to fcntl.h for O_CLOEXEC
-rw-r--r-- | src/libstore/pathlocks.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/pathlocks.cc b/src/libstore/pathlocks.cc index b6d8547c7..2635e3940 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> |