blob: c9c146d2cf6be037e652aef9ad4c802754985474 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ab,v 1.1 2000/12/27 03:26:25 wiz Exp $
--- connect.c.orig Tue Jan 5 17:13:29 1999
+++ connect.c
@@ -94,10 +94,13 @@
# endif
#endif
+/* read/write return ssize_t, which aren't int on at least alpha */
+#if 0
#ifndef _POSIX_SOURCE
extern int read( /* int fd, char *buf, unsigned int n */);
extern int write(/* int fd, const char *buf, unsigned int n */);
#endif /* _POSIX_SOURCE */
+#endif
extern int close(/* int fd */);
#ifdef HAVE_NO_MEMMOVE
|