about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-08-04T09·12+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-08-04T09·12+0200
commit34dfbd939465ebfe08d800ec121d99ed15fcf64f (patch)
treea5943dff25840b96e688423d36a10bd8c857745d /src/libstore/build.cc
parent30d19a2bdcb2f543586ac42f8d0b7dd719a9e48f (diff)
Don't include <iostream> before config.h
This breaks the build on 32-bit systems.

http://hydra.nixos.org/build/24373658
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 1f9e4fb1e6be..73d4524db033 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -1,4 +1,3 @@
-#include <iostream>
 #include "config.h"
 
 #include "references.hh"
@@ -11,9 +10,10 @@
 #include "affinity.hh"
 #include "builtins.hh"
 
+#include <algorithm>
+#include <iostream>
 #include <map>
 #include <sstream>
-#include <algorithm>
 
 #include <limits.h>
 #include <time.h>