about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libstore/derivations.hh4
-rw-r--r--src/libutil/types.hh2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh
index 8f22b4afa6a1..a5ffc2252064 100644
--- a/src/libstore/derivations.hh
+++ b/src/libstore/derivations.hh
@@ -1,10 +1,10 @@
 #pragma once
 
-#include <map>
-
 #include "types.hh"
 #include "hash.hh"
 
+#include <map>
+
 
 namespace nix {
 
diff --git a/src/libutil/types.hh b/src/libutil/types.hh
index 165a46fa28e9..a2ab1cc0ee83 100644
--- a/src/libutil/types.hh
+++ b/src/libutil/types.hh
@@ -1,5 +1,7 @@
 #pragma once
 
+#include "config.h"
+
 #include <string>
 #include <list>
 #include <set>