aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-15 19:05:06 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-15 19:05:17 +0000
commit64be1c15c229facfa849f5667f603cce951a8488 (patch)
treefafaea18aaf39de1c5aaa7a7dd62b2e4d0642706
parentfccef6a7fa713370c0df348f4fe82a2919bf0a33 (diff)
Add missing include for MAX_PATH
And remove one that we didn't actually need to add
-rw-r--r--src/libstore/globals.cc1
-rw-r--r--src/libutil/tests/tests.cc1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index f4a4f348f..1238dc530 100644
--- a/src/libstore/globals.cc
+++ b/src/libstore/globals.cc
@@ -9,7 +9,6 @@
#include <thread>
#include <dlfcn.h>
#include <sys/utsname.h>
-#include <unordered_set>
#include <nlohmann/json.hpp>
diff --git a/src/libutil/tests/tests.cc b/src/libutil/tests/tests.cc
index 8e77ccbe1..ffba832d8 100644
--- a/src/libutil/tests/tests.cc
+++ b/src/libutil/tests/tests.cc
@@ -1,6 +1,7 @@
#include "util.hh"
#include "types.hh"
+#include <limits.h>
#include <gtest/gtest.h>
namespace nix {