Index: api.scm
==================================================================
--- api.scm
+++ api.scm
@@ -24,10 +24,13 @@
(declare (unit api))
(declare (uses rmt))
(declare (uses db))
(declare (uses tasks))
+
+(declare (uses commonmod))
+(import commonmod)
;; allow these queries through without starting a server
;;
(define api:read-only-queries
'(get-key-val-pairs
Index: env.scm
==================================================================
--- env.scm
+++ env.scm
@@ -17,10 +17,13 @@
;; along with Megatest. If not, see .
;;======================================================================
(declare (unit env))
+
+(declare (uses commonmod))
+(import commonmod)
(use sql-de-lite) ;; srfi-1 posix regex regex-case srfi-69 srfi-18 call-with-environment-variables)
(define (env:open-db fname)
(let* ((db-exists (common:file-exists? fname))
Index: genexample.scm
==================================================================
--- genexample.scm
+++ genexample.scm
@@ -18,10 +18,13 @@
;;======================================================================
(declare (unit genexample))
(use posix regex matchable)
+
+(declare (uses commonmod))
+(import commonmod)
(include "db_records.scm")
(define genexample:example-logpro
#<