--- ab.c.orig	Tue Oct 09 00:12:06 2001
+++ ab.c	Fri Dec 21 00:35:26 2001
@@ -135,11 +135,19 @@
 #include <netinet/in.h>
 #include <netdb.h>
 #include <errno.h>
-#include <sys/ioctl.h>
+/* #include <sys/ioctl.h> is this really needed a second time?? */
 #include <string.h>
 #include <signal.h>
 #include <sys/types.h>
 #include <sys/uio.h>
+#ifdef NETWARE
+#include <time.h>
+#include <ctype.h>
+#include <sys/bsdskt.h>
+#include <nwconio.h>
+#include "getopt.h"
+NETDB_DEFINE_CONTEXT	
+#endif
 
 #define ap_select       select
 #else				/* (!)NO_APACHE_INCLUDES */
@@ -311,7 +319,7 @@
 #endif
 
 static void close_connection(struct connection * c);
-#if NO_WRITEV || USE_SSL
+#if defined(NO_WRITEV) || defined(USE_SSL)
 static void s_write(struct connection * c, char *buff, int len);
 #endif
 
@@ -342,12 +350,12 @@
 /* XXX this sucks - SSL mode and writev() do not mix
  *     another artificial difference.
  */
-#if !NO_WRITEV && !USE_SSL
+#if !defined(NO_WRITEV) && !defined(USE_SSL)
     struct iovec out[2];
     int outcnt = 1;
 #endif
     gettimeofday(&c->connect, 0);
-#if !NO_WRITEV && !USE_SSL
+#if !defined(NO_WRITEV) && !defined(USE_SSL)
     out[0].iov_base = request;
     out[0].iov_len = reqlen;
 
@@ -376,7 +384,7 @@
 
 /*  Do actual data writing */
 
-#if NO_WRITEV || USE_SSL
+#if defined(NO_WRITEV) || defined(USE_SSL)
 static void s_write(struct connection * c, char *buff, int len)
 {
     do {
@@ -1375,6 +1383,9 @@
     fprintf(stderr, "                    are a colon separated username and password.\n");
     fprintf(stderr, "    -X proxy:port   Proxyserver and port number to use\n");
     fprintf(stderr, "    -V              Print version number and exit\n");
+#ifdef NETWARE
+    PressAnyKeyToContinue();
+#endif
     fprintf(stderr, "    -k              Use HTTP KeepAlive feature\n");
     fprintf(stderr, "    -d              Do not show percentiles served table.\n");
     fprintf(stderr, "    -S              Do not show confidence estimators and warnings.\n");
