diff options
Diffstat (limited to 'module/ice-9/posix.scm')
-rw-r--r-- | module/ice-9/posix.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/ice-9/posix.scm b/module/ice-9/posix.scm index 53d01a026..a1be33c19 100644 --- a/module/ice-9/posix.scm +++ b/module/ice-9/posix.scm @@ -5,7 +5,7 @@ ;;;; This library is free software; you can redistribute it and/or ;;;; modify it under the terms of the GNU Lesser General Public ;;;; License as published by the Free Software Foundation; either -;;;; version 2.1 of the License, or (at your option) any later version. +;;;; version 3 of the License, or (at your option) any later version. ;;;; ;;;; This library is distributed in the hope that it will be useful, ;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -17,6 +17,9 @@ ;;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;;;; +(eval-when (compile) + (set-current-module (resolve-module '(guile)))) + (define (stat:dev f) (vector-ref f 0)) (define (stat:ino f) (vector-ref f 1)) (define (stat:mode f) (vector-ref f 2)) |