about summary refs log tree commit diff
path: root/src/nix-store/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-store/main.cc')
-rw-r--r--src/nix-store/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-store/main.cc b/src/nix-store/main.cc
index 87fbe58b1ba3..a6ff117cb47b 100644
--- a/src/nix-store/main.cc
+++ b/src/nix-store/main.cc
@@ -1,4 +1,5 @@
 #include <iostream>
+#include <algorithm>
 
 #include "globals.hh"
 #include "build.hh"