URI: 
       tlib9: fix openbsd build - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit d765c37110688fc763c964628d410cb039510b0e
   DIR parent 3409bc9ae1614ba47430a3f593fdbe5fc177c878
  HTML Author: David du Colombier <0intro@gmail.com>
       Date:   Wed, 27 Jun 2012 20:02:03 +0200
       
       lib9: fix openbsd build
       
       Fix build error and warning on OpenBSD 5.1,
       as reported by Dimitri Sokolyuk.
       
       R=rsc
       http://codereview.appspot.com/6350044
       
       Diffstat:
         M src/lib9/_p9dialparse.c             |       1 +
         M src/lib9/dirread.c                  |       2 +-
       
       2 files changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/src/lib9/_p9dialparse.c b/src/lib9/_p9dialparse.c
       t@@ -3,6 +3,7 @@
        #include <libc.h>
        
        #include <sys/types.h>
       +#include <sys/socket.h>
        #include <netdb.h>
        #include <sys/un.h>
        #include <netinet/in.h>
   DIR diff --git a/src/lib9/dirread.c b/src/lib9/dirread.c
       t@@ -22,7 +22,7 @@ mygetdents(int fd, struct dirent *buf, int n)
        static int
        mygetdents(int fd, struct dirent *buf, int n)
        {
       -        long off;
       +        off_t off;
                return getdirentries(fd, (void*)buf, n, &off);
        }
        #elif defined(__sun__) || defined(__NetBSD__)