1.0.11.26: correcting some types in SB-UNIX.
[sbcl.git] / tools-for-build / grovel-headers.c
index 49eeac5..f0e6f76 100644 (file)
@@ -47,6 +47,8 @@
 
 #include "genesis/config.h"
 
+#include "wrap.h"
+
 #define DEFTYPE(lispname,cname) { cname foo; \
     printf("(define-alien-type " lispname " (%s %d))\n", (((foo=-1)<0) ? "sb!alien:signed" : "unsigned"), (8 * (sizeof foo))); }
 
@@ -248,6 +250,10 @@ main(int argc, char *argv[])
     DEFTYPE("suseconds-t", suseconds_t);
 #endif
     DEFTYPE("uid-t",   uid_t);
+/* Types in src/runtime/wrap.h */
+    DEFTYPE("ffi-dev-t", ffi_dev_t);
+    DEFTYPE("ffi-off-t", ffi_off_t);
+    DEFTYPE("ffi-blksize-t", ffi_blksize_t);
     printf("\n");
 
     printf(";;; fcntl.h (or unistd.h on OpenBSD and NetBSD)\n");