aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-13 17:38:37 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-11-20 13:04:39 +0100
commit8beedd44861d1fe7208609ee8d231ca1c02dedf6 (patch)
treef701e7810aa0f2e990ece2beb066a6bcc3677278 /src/libexpr
parent9b8cb6809ba0c17d9d25d7baee9b12496af091cf (diff)
Move #include
Diffstat (limited to 'src/libexpr')
-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 66683e936..0b3f75d60 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 "flake/flake.hh"
#include <algorithm>
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index 5469a8ab2..37f074c24 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 8b0ec848d..2c39b7430 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 {