~ chicken-core (master) 4d1fbc089a6e387dcf2b2f8cdd916c9a1ae79d8e


commit 4d1fbc089a6e387dcf2b2f8cdd916c9a1ae79d8e
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Thu Sep 24 11:01:51 2026 +0200
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Thu Sep 24 11:01:51 2026 +0200

    add "." to default include path in compiler

diff --git a/batch-driver.scm b/batch-driver.scm
index cb134118..b03bda09 100644
--- a/batch-driver.scm
+++ b/batch-driver.scm
@@ -465,6 +465,7 @@
     (set! ##sys#read-error-with-line-number #t)
     (set! ##sys#include-pathnames
       (append (map chop-separator (collect-options 'include-path))
+              '(".")
 	      ##sys#include-pathnames) )
     (when (and outfile filename (string=? outfile filename))
       (quit-compiling "source- and output-filename are the same") )
Trap