Log message:
Make sure IOV_MAX gets defined on a couple of platforms...
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@332
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2000-12-10 Kevin L. Mitchell <klmitch@mit.edu>
+
+ * ircd/os_generic.c: make sure IOV_MAX gets defined, just in case
+
+ * ircd/os_bsd.c: apparently BSD doesn't have IOV_MAX defined
+ anywhere intelligent...
+
2000-12-09 Kevin L. Mitchell <klmitch@mit.edu>
* ircd/send.c (send_queued): call deliver_it with appropriate
#include <sys/uio.h>
#include <unistd.h>
+#ifndef IOV_MAX
+#define IOV_MAX 16 /* minimum required */
+#endif
+
#ifdef HPUX
#include <sys/syscall.h>
#define getrusage(a,b) syscall(SYS_GETRUSAGE, a, b)
#include <unistd.h>
#endif
+#ifndef IOV_MAX
+#define IOV_MAX 16 /* minimum required */
+#endif
+
#ifdef HPUX
#include <sys/syscall.h>
#define getrusage(a,b) syscall(SYS_GETRUSAGE, a, b)