about summary refs log tree commit diff
path: root/nix-repl.cc
diff options
context:
space:
mode:
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();
 }