--- you can reply above this line ---
New issue 100: Build Errors and Warnings on OpenBSD 5.1
https://bitbucket.org/rsc/plan9port/issue/100/build-errors-and-warnings-on-openbsd-51
Dimitri Sokolyuk:
{{{
diff -r 697c23cebcec src/lib9/_p9dialparse.c
--- a/src/lib9/_p9dialparse.c Sat Jun 02 21:50:59 2012 +0200
+++ b/src/lib9/_p9dialparse.c Wed Jun 27 06:15:16 2012 +0200
@@ -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>
diff -r 697c23cebcec src/lib9/dirread.c
--- a/src/lib9/dirread.c Sat Jun 02 21:50:59 2012 +0200
+++ b/src/lib9/dirread.c Wed Jun 27 06:15:16 2012 +0200
@@ -22,7 +22,7 @@
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__)
}}}
Responsible: rsc
--
This is an issue notification from
bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.