diff --git a/src/c/Makefile b/src/c/Makefile index d158a123..5b076abd 100644 --- a/src/c/Makefile +++ b/src/c/Makefile @@ -2,4 +2,4 @@ NIX = /home/eelco/Dev/nix/inst ATERM = /home/eelco/Dev/nix/externals/inst-aterm hydra_eval_jobs: hydra_eval_jobs.cc - libtool --mode=link g++ -o hydra_eval_jobs hydra_eval_jobs.cc -I$(NIX)/include/nix -I$(ATERM)/include -L$(NIX)/lib/nix/ -lmain -lexpr -L$(ATERM)/lib -lATerm -Wall + libtool --mode=link g++ -o hydra_eval_jobs hydra_eval_jobs.cc -I$(NIX)/include/nix -I$(ATERM)/include -L$(NIX)/lib/nix/ -lmain -lexpr -Wall diff --git a/src/c/hydra_eval_jobs.cc b/src/c/hydra_eval_jobs.cc index 00055a50..36964c0c 100644 --- a/src/c/hydra_eval_jobs.cc +++ b/src/c/hydra_eval_jobs.cc @@ -9,6 +9,7 @@ #include "util.hh" #include "xml-writer.hh" #include "get-drvs.hh" +#include "aterm.hh" using namespace nix;