18 lines
481 B
Text
18 lines
481 B
Text
$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
|