  extern uschar *spam_score_int;         /* spam_score * 10 (int) */
  #endif
 diff --git a/src/src/spam.c b/src/src/spam.c
-index 63395f2..d284618 100644
+index 63395f2..41fd4ac 100644
 --- a/src/src/spam.c
 +++ b/src/src/spam.c
 @@ -14,12 +14,20 @@

 #define F_FREESP     O_TRUNC
 typedef struct flock flock_t;
diff --git a/src/src/expand.c b/src/src/expand.c
index 7803862..888226f 100644
--- a/src/src/expand.c
+++ b/src/src/expand.c
@@ -608,6 +608,7 @@ static var_entry var_table[] = {
   { "sn8",                 vtype_filter_int,  &filter_sn[8] },
   { "sn9",                 vtype_filter_int,  &filter_sn[9] },
 #ifdef WITH_CONTENT_SCAN

   { "spam_report",         vtype_stringptr,   &spam_report },
   { "spam_score",          vtype_stringptr,   &spam_score },
diff --git a/src/src/globals.c b/src/src/globals.c
index 74b6edb..e6f02fb 100644
--- a/src/src/globals.c
+++ b/src/src/globals.c
@@ -1212,6 +1212,7 @@ BOOL    smtp_use_size          = FALSE;
 uschar *spamd_address          = US"127.0.0.1 783";
 uschar *spam_bar               = NULL;
 uschar *spam_report            = NULL;
