diff --git a/testsuite/slurm_unit/slurmctld/Makefile.am b/testsuite/slurm_unit/slurmctld/Makefile.am
index 88cca9e29f39ade5884bc503c4fc750687c8c94b..331ec64d5741d2bfbf08aa6468b4da525858199d 100644
--- a/testsuite/slurm_unit/slurmctld/Makefile.am
+++ b/testsuite/slurm_unit/slurmctld/Makefile.am
@@ -12,5 +12,4 @@ LDADD   = $(top_srcdir)/src/common/libcommon.la \
 		$(top_srcdir)/src/slurmctld/node_mgr.o \
 		$(top_srcdir)/src/slurmctld/parse_spec.o  \
 		$(top_srcdir)/src/slurmctld/read_config.o \
-		$(top_srcdir)/src/slurmctld/util.o \
 		$(top_srcdir)/src/api/libslurm.la
diff --git a/testsuite/slurm_unit/slurmctld/job_mgr-test.c b/testsuite/slurm_unit/slurmctld/job_mgr-test.c
index 0abec5085796c469feab35a6f7481c9e4b16da6a..27d9cf95fdd20c9c08d3622db74de30b43175c1b 100644
--- a/testsuite/slurm_unit/slurmctld/job_mgr-test.c
+++ b/testsuite/slurm_unit/slurmctld/job_mgr-test.c
@@ -4,6 +4,7 @@
 #include <src/slurmctld/slurmctld.h>
 #include <testsuite/dejagnu.h>
 
+slurm_ctl_conf_t slurmctld_conf;
 int
 main (int argc, char *argv[]) 
 {