Attached is a suggested diff against iolib for use on NetBSD.

Thanks,
-- 
Matt
--- syscalls/ffi-types-unix.lisp.orig	2009-01-24 16:50:05.000000000 -0500
+++ syscalls/ffi-types-unix.lisp	2009-01-25 22:27:44.000000000 -0500
@@ -446,6 +446,7 @@
   (ctype intptr-t "intptr_t")
   (ctype uintptr-t "uintptr_t")
 
+  #-netbsd
   (cstruct kevent "struct kevent"
     (ident  "ident"  :type uintptr-t)
     (filter "filter" :type :short)
@@ -453,6 +454,14 @@
     (fflags "fflags" :type :unsigned-int)
     (data   "data"   :type intptr-t)
     (udata  "udata"  :type :pointer))
+  #+netbsd
+  (cstruct kevent "struct kevent"
+    (ident  "ident"  :type uintptr-t)
+    (filter "filter" :type :uint32)
+    (flags  "flags"  :type :uint32)
+    (fflags "fflags" :type :uint32)
+    (data   "data"   :type :int64)
+    (udata  "udata"  :type :pointer))
 
   ;; kevent() flags
   (constant (ev-add "EV_ADD"))
_______________________________________________
IOLib-devel mailing list
[email protected]
http://common-lisp.net/cgi-bin/mailman/listinfo/iolib-devel

Reply via email to