diff --git a/xattr.egg b/xattr.egg index 11e393f..71a8384 100644 --- a/xattr.egg +++ b/xattr.egg @@ -1,9 +1,8 @@ ;; -*- Scheme -*- ((synopsis "Access to extended attributes") (author "Jaidyn Ann") - (category net) + (category io) (license "GPLv3") + (dependencies srfi-1 srfi-12) (components (extension xattr))) -;; (csc-options "-O3" "-d1" "-X" "bind" "-s" "-k" "-emit-link-file" "xattr.link" "-o" "xattr_ext.o")) -;; (c-object xattr_ext))) diff --git a/xattr.scm b/xattr.scm index fac1478..a7f7e6a 100644 --- a/xattr.scm +++ b/xattr.scm @@ -18,7 +18,10 @@ (module xattr (get-xattr set-xattr remove-xattr list-xattr) -(import (chicken base) (chicken memory) srfi-1 scheme (chicken foreign) srfi-12) + (import scheme + (chicken base) (chicken foreign) (chicken memory) + srfi-1 srfi-12) + (foreign-declare "#include \"xattr_ext.c\"")