about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-12-15T23·48+0100
committerEelco Dolstra <edolstra@gmail.com>2017-12-15T23·49+0100
commit8efe937a350eca57cbc3cb9837f28d985e0d281f (patch)
tree6ac27bc6953b5ac941057cfe7e11e4fbc811d200
parent1dffbff57d427da098bb750b5a86e57d7d0a401b (diff)
Fix build on gcc 7
Fixes #1738.
-rw-r--r--src/libstore/nar-accessor.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/nar-accessor.hh b/src/libstore/nar-accessor.hh
index 1903355a236e..2871199de16e 100644
--- a/src/libstore/nar-accessor.hh
+++ b/src/libstore/nar-accessor.hh
@@ -1,5 +1,7 @@
 #pragma once
 
+#include <functional>
+
 #include "fs-accessor.hh"
 
 namespace nix {