summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Bex <peter@more-magic.net>2020-03-28 20:59:28 +0100
committerPeter Bex <peter@more-magic.net>2020-03-28 20:59:28 +0100
commit459b14db321aec14c2acc5bde1ca546e1d79e8d7 (patch)
treeac61f549578cb978beb384271871348912bf68e5
parent6368fb067e244349265e9fdc4a7735e069a6a40a (diff)
downloadchicken-postgresql-459b14db321aec14c2acc5bde1ca546e1d79e8d7.tar.gz
Explicitly depend on scheduler unit so it gets loaded
We used to use srfi-18, but that's an extra dependency we don't need so when we added our own thread waiter with support for a delay, we dropped srfi-18 altogether, also for calls not using the delay. Tests did not catch this, ironically, because they load srfi-18.
-rw-r--r--postgresql.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/postgresql.scm b/postgresql.scm
index d5e9532..d2c4a03 100644
--- a/postgresql.scm
+++ b/postgresql.scm
@@ -18,6 +18,9 @@
;; USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
;; DAMAGE.
+;; We use ##sys#thread-... directly without importing anything
+(declare (uses scheduler))
+
(module postgresql
(type-parsers update-type-parsers! default-type-parsers
char-parser bool-parser bytea-parser numeric-parser