fix load error

db4
Doug Coleman 2008-10-06 17:34:58 -05:00
parent 0294308c4c
commit 847205432f
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
USING: alien.c-types alien.syntax kernel math ;
USING: alien.c-types alien.syntax kernel math unix.types ;
IN: structs
C-STRUCT: timeval

View File

@ -1,8 +1,8 @@
USING: kernel alien.syntax alien.c-types math ;
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel alien.syntax alien.c-types math unix.types ;
IN: unix.time
TYPEDEF: uint time_t
C-STRUCT: tm
{ "int" "sec" } ! Seconds: 0-59 (K&R says 0-61?)
{ "int" "min" } ! Minutes: 0-59