about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/db.cc2
-rw-r--r--src/nix.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/db.cc b/src/db.cc
index e9f3a0f9e34b..4178f6ebe29f 100644
--- a/src/db.cc
+++ b/src/db.cc
@@ -1,6 +1,8 @@
 #include "db.hh"
 #include "util.hh"
 
+#include <memory>
+
 #include <db_cxx.h>
 
 
diff --git a/src/nix.cc b/src/nix.cc
index d068e9616f94..667f452aa16a 100644
--- a/src/nix.cc
+++ b/src/nix.cc
@@ -1,9 +1,9 @@
 #include <iostream>
-#include <memory>
 #include <list>
 #include <vector>
 #include <set>
 #include <map>
+#include <algorithm>
 #include <cstdio>
 
 #include <errno.h>