summaryrefslogtreecommitdiff
path: root/src/io/lock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/lock.cpp')
-rw-r--r--src/io/lock.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/io/lock.cpp b/src/io/lock.cpp
index 1342915..3f83611 100644
--- a/src/io/lock.cpp
+++ b/src/io/lock.cpp
@@ -21,6 +21,9 @@
#include <fcntl.h>
#include <unistd.h>
+#include <cerrno>
+#include <cstdlib>
+
#include "../strings/zstring.hpp"
#include "cxxstdio.hpp"