Browse Source

* unix sockets now also exports tsocklen, like windows one

git-svn-id: trunk@13276 -
marco 16 years ago
parent
commit
a862d93652
1 changed files with 3 additions and 0 deletions
  1. 3 0
      rtl/unix/sockets.pp

+ 3 - 0
rtl/unix/sockets.pp

@@ -25,6 +25,9 @@ Uses baseunix,UnixType;
 {$DEFINE SOCK_HAS_SINLEN}               // BSD definition of socketaddr
 {$DEFINE SOCK_HAS_SINLEN}               // BSD definition of socketaddr
 {$endif}
 {$endif}
 
 
+Type 
+ TSockLen = BaseUnix.TSocklen;
+
 {$i unxsockh.inc}
 {$i unxsockh.inc}
 {$i socketsh.inc}
 {$i socketsh.inc}