From: Bradley Nicholes Date: Tue, 16 Sep 2003 20:28:12 +0000 (+0000) Subject: Enable rfc1413 ident functionality on NetWare. Win32 may also need to X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef81101640c53952814a4bf8619292d6acfd7094;p=thirdparty%2Fapache%2Fhttpd.git Enable rfc1413 ident functionality on NetWare. Win32 may also need to include these #defines Submitted by: G�nter Knauf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@101258 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/main/rfc1413.c b/src/main/rfc1413.c index ebef8be6886..7d134e5896d 100644 --- a/src/main/rfc1413.c +++ b/src/main/rfc1413.c @@ -83,6 +83,12 @@ #include "rfc1413.h" #include "http_main.h" /* set_callback_and_alarm */ +/* XXX WIN32 may also need to include these #defines */ +#if (defined(NETWARE) /*|| defined(WIN32)*/) +#define write(a,b,c) send(a,b,c,0) +#define read(a,b,c) recv(a,b,c,0) +#endif /* NETWARE || WIN32 */ + /* Local stuff. */ /* Semi-well-known port */ #define RFC1413_PORT 113