patch 7.4.1449
Problem:    Build fails with job feature but without channel feature.
Solution:   Add #ifdef.
diff --git a/src/eval.c b/src/eval.c
index c12961a..4dd400a 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -7800,6 +7800,7 @@
 	{
 	    job_free(job);
 	}
+# ifdef FEAT_CHANNEL
 	else if (job->jv_channel != NULL)
 	{
 	    /* Do remove the link to the channel, otherwise it hangs
@@ -7808,6 +7809,7 @@
 	    channel_unref(job->jv_channel);
 	    job->jv_channel = NULL;
 	}
+# endif
     }
 }