about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-13T16·38+0100
committerEelco Dolstra <edolstra@gmail.com>2020-01-05T15·30+0100
commite3eecb59271858b693b57ef2b290512494971c4a (patch)
tree5fceb47ce30aa57eb6eb0fbccb48b764a6937941 /src
parentf84c3f9d65c0170fa6955b8a7fff38d8c006d6cf (diff)
Move #include
(cherry picked from commit 8beedd44861d1fe7208609ee8d231ca1c02dedf6)
(cherry picked from commit 0678e4d56a839f940af8aa70059ced48b393e817)
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/eval.cc1
-rw-r--r--src/libexpr/eval.hh1
-rw-r--r--src/libexpr/function-trace.hh3
3 files changed, 3 insertions, 2 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 330f0191a284..09276a189535 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -7,6 +7,7 @@
 #include "eval-inline.hh"
 #include "download.hh"
 #include "json.hh"
+#include "function-trace.hh"
 
 #include <algorithm>
 #include <chrono>
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index 61ee4a73b563..8126e4ea50ff 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -6,7 +6,6 @@
 #include "symbol-table.hh"
 #include "hash.hh"
 #include "config.hh"
-#include "function-trace.hh"
 
 #include <map>
 #include <optional>
diff --git a/src/libexpr/function-trace.hh b/src/libexpr/function-trace.hh
index 3100ffea2c57..472f2045ed65 100644
--- a/src/libexpr/function-trace.hh
+++ b/src/libexpr/function-trace.hh
@@ -1,7 +1,8 @@
 #pragma once
 
 #include "eval.hh"
-#include <sys/time.h>
+
+#include <chrono>
 
 namespace nix {