]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix netbsd load error
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 22 Jan 2010 23:10:32 +0000 (17:10 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 22 Jan 2010 23:10:32 +0000 (17:10 -0600)
basis/unix/ffi/bsd/netbsd/netbsd.factor

index e51965242118f369f9b440f1218cc70e59ff4e1d..d755caf874605d662cc617bf1c58006bb798f242 100644 (file)
@@ -1,5 +1,5 @@
 USING: alien.syntax alien.c-types math vocabs.loader
-classes.struct unix.types ;
+classes.struct unix.types unix.time ;
 IN: unix.ffi
 
 CONSTANT: FD_SETSIZE 256
@@ -127,6 +127,8 @@ CONSTANT: _UTX_LINESIZE   32
 CONSTANT: _UTX_IDSIZE     4
 CONSTANT: _UTX_HOSTSIZE   256
 
+<<
+
 CONSTANT: _SS_MAXSIZE 128
 
 : _SS_ALIGNSIZE ( -- n )
@@ -138,6 +140,8 @@ CONSTANT: _SS_MAXSIZE 128
 : _SS_PAD2SIZE ( -- n )
     _SS_MAXSIZE 2 - _SS_PAD1SIZE - _SS_ALIGNSIZE - ; inline
 
+>>
+
 STRUCT: sockaddr_storage
     { ss_len __uint8_t }
     { ss_family sa_family_t }