about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index bd8f95e4790a..4b1aef9352ed 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -1,3 +1,5 @@
+#include <algorithm>
+
 #include "build.hh"
 #include "eval.hh"
 #include "globals.hh"