diff options
Diffstat (limited to 'src/fs/io/FileOutputStream.cxx')
-rw-r--r-- | src/fs/io/FileOutputStream.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/io/FileOutputStream.cxx b/src/fs/io/FileOutputStream.cxx index 83518e177..fb07fe438 100644 --- a/src/fs/io/FileOutputStream.cxx +++ b/src/fs/io/FileOutputStream.cxx @@ -158,9 +158,10 @@ FileOutputStream::Cancel() noexcept #else +#include <cerrno> + #include <fcntl.h> #include <unistd.h> -#include <errno.h> #ifdef HAVE_O_TMPFILE #ifndef O_TMPFILE |