about summary refs log tree commit diff
path: root/src/archive.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/archive.cc')
-rw-r--r--src/archive.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/archive.cc b/src/archive.cc
index 9170ca3ad650..4a6211e00eda 100644
--- a/src/archive.cc
+++ b/src/archive.cc
@@ -1,3 +1,5 @@
+#include <cerrno>
+#include <algorithm>
 #include <vector>
 
 #include <sys/types.h>