From 74166f2f44a9d2de6dc7862a99e9c2f2bcc9b54b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Mar 2006 17:44:28 +0000 Subject: * db.hh shouldn't depend on the Berkeley DB headers. --- src/libstore/build.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libstore/build.cc') diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 85c89f2c5..2f6d69d3e 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -922,7 +923,7 @@ DerivationGoal::HookReply DerivationGoal::tryBuildHook() (worker.canBuildMore() ? (string) "1" : "0").c_str(), thisSystem.c_str(), drv.platform.c_str(), - drvPath.c_str(), 0); + drvPath.c_str(), NULL); throw SysError(format("executing `%1%'") % buildHook); -- cgit v1.2.3