Author: Ghostwolf <foxxe@wtfs.net>
authorJoseph Bongaarts <foxxe@wtfs.net>
Wed, 14 Mar 2001 05:53:30 +0000 (05:53 +0000)
committerJoseph Bongaarts <foxxe@wtfs.net>
Wed, 14 Mar 2001 05:53:30 +0000 (05:53 +0000)
Log message: Tweaked the openbsd hack so IOV_MAX would still get defined in limits.h

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@386 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/os_openbsd.c

index 89fefd31c7304b4a7a4bb232cf106f4e2a63c40d..893eb71248ef2b3c1201475419f5d4889623ee41 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2001-03-13 Joseph Bongaarts <foxxe@wtfs.net>
+       * ircd/os_openbsd.c: Tweaked the openbsd hack a bit.
+       
 2001-03-07  Joseph Bongaarts  <foxxe@wtfs.net>
 
        * config/configure.in: Add check for OpenBSD
index af9fa2ac85e8603e3b0f32777218491f631eb7e2..88a3cd12a398ada400b48dfe30c892f302440e5a 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * IRC - Internet Relay Chat, ircd/os_openbsd.c
- * Copyright (C) 1999 Joseph Bongaarts
+ * Copyright (C) 2001 Joseph Bongaarts
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * $Id$
  *
  */
+#define _XOPEN_SOURCE /* Need this for IOV_MAX */
+
+/* These typedef's are needed for socket.h to be happy. Bleep PROMISES to make
+ * to make this less hackish in the future... HONEST. -GW
+ */
+typedef unsigned char u_char;
+typedef unsigned short u_short;
+typedef unsigned int u_int;
+typedef unsigned long u_long;
+
 #include "ircd_osdep.h"
 #include "config.h"
 #include "msgq.h"