b22a79c3cb
the darwin build. PR 20507.
60 lines
1.4 KiB
Text
60 lines
1.4 KiB
Text
$NetBSD: patch-af,v 1.2 2003/10/08 03:24:17 danw Exp $
|
|
|
|
--- Library/src/wwwsys.h.orig Wed Dec 20 05:00:07 2000
|
|
+++ Library/src/wwwsys.h
|
|
@@ -925,6 +925,7 @@
|
|
#endif
|
|
|
|
/* appkit.h */
|
|
+#ifdef __NeXT__
|
|
#ifdef HAVE_APPKIT_APPKIT_H
|
|
#include <appkit/appkit.h>
|
|
#else
|
|
@@ -932,6 +933,7 @@
|
|
#include <appkit.h>
|
|
#endif
|
|
#endif
|
|
+#endif
|
|
|
|
/* dn.h */
|
|
#ifdef HAVE_DN_H
|
|
@@ -1225,25 +1227,24 @@
|
|
#ifdef SOCKS4
|
|
#define connect Rconnect
|
|
#define getsockname Rgetsockname
|
|
-#define getpeername Rgetpeername
|
|
+/* #define getpeername Rgetpeername */
|
|
#define bind Rbind
|
|
#define accept Raccept
|
|
#define listen Rlisten
|
|
#define select Rselect
|
|
-#define recvfrom Rrecvfrom
|
|
-#define sendto Rsendto
|
|
-#define recv Rrecv
|
|
-#define send Rsend
|
|
-#define read Rread
|
|
-#define write Rwrite
|
|
-#define rresvport Rrresvport
|
|
-#define shutdown Rshutdown
|
|
-#define listen Rlisten
|
|
-#define close Rclose
|
|
-#define dup Rdup
|
|
-#define dup2 Rdup2
|
|
-#define fclose Rfclose
|
|
-#define gethostbyname Rgethostbyname
|
|
+/* #define recvfrom Rrecvfrom */
|
|
+/* #define sendto Rsendto */
|
|
+/* #define recv Rrecv */
|
|
+/* #define send Rsend */
|
|
+/* #define read Rread */
|
|
+/* #define write Rwrite */
|
|
+/* #define rresvport Rrresvport */
|
|
+/* #define shutdown Rshutdown */
|
|
+/* #define close Rclose */
|
|
+/* #define dup Rdup */
|
|
+/* #define dup2 Rdup2 */
|
|
+/* #define fclose Rfclose */
|
|
+/* #define gethostbyname Rgethostbyname */
|
|
#else
|
|
#ifdef SOCKS5
|
|
#define connect SOCKSconnect
|