about summary refs log tree commit diff
path: root/nix-repl.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-04-25T14·55+0200
committerEelco Dolstra <edolstra@gmail.com>2017-04-25T14·55+0200
commit2dff9556a4131af8a50647f23fe03bfc3c295e12 (patch)
treeb4e1a84bf9ba5037101a66e06c265f244ed4c201 /nix-repl.cc
parent0e49f941205769852846cb8afa228831cf6ae363 (diff)
Fix build
Diffstat (limited to 'nix-repl.cc')
-rw-r--r--nix-repl.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/nix-repl.cc b/nix-repl.cc
index 0e8c67cf7f28..0c50f4683300 100644
--- a/nix-repl.cc
+++ b/nix-repl.cc
@@ -1,3 +1,5 @@
+#include <nix/config.h>
+
 #include <iostream>
 #include <cstdlib>
 
@@ -291,7 +293,7 @@ static int runProgram(const string & program, const Strings & args)
         _exit(1);
     }
 
-    return pid.wait(true);
+    return pid.wait();
 }