about summary refs log tree commit diff
path: root/src/pathlocks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathlocks.cc')
-rw-r--r--src/pathlocks.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pathlocks.cc b/src/pathlocks.cc
index 78aae26bdb64..93f456ace693 100644
--- a/src/pathlocks.cc
+++ b/src/pathlocks.cc
@@ -1,3 +1,5 @@
+#include <cerrno>
+
 #include <fcntl.h>
 
 #include "pathlocks.hh"