]> jfr.im git - irc/quakenet/newserv.git/commitdiff
FreeBSD fixes, should be ok under Linux.
authorChris Porter <redacted>
Tue, 18 Dec 2007 16:29:58 +0000 (16:29 +0000)
committerChris Porter <redacted>
Tue, 18 Dec 2007 16:29:58 +0000 (16:29 +0000)
depmod.pl [changed mode: 0755->0644]
lib/irc_ipv6.h
lib/patricia.c
lib/sha2.c
lib/sstring [changed mode: 0755->0644]
mkflat.pl [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index d78efc8d529b7bb85a944dbcb447cd0ed4483643..52ff90a208e10b64cde478deed85154c100388f7 100644 (file)
@@ -3,6 +3,8 @@
 #ifndef __irc_ipv6_H
 #define __irc_ipv6_H
 
+#include <limits.h>
+
 /* from res.h */
 
 /** Structure to store an IP address. */
index 407436019a842f38e85f112fcb96252cb050f2c0..aa790fbf6258982b85fbe714a618c66b5d06944d 100644 (file)
@@ -16,7 +16,6 @@ static char copyright[] =
 "This product includes software developed by the University of Michigan, Merit"
 "Network, Inc., and their contributors.";
 
-#include <malloc.h>
 #include <assert.h> /* assert */
 #include <ctype.h> /* isdigit */
 #include <errno.h> /* errno */
index 7723e4070a28fe7ed5300717f5d0ce9e41ac76dd..1bc269090b6d3305e899b5cde07177a845431c49 100644 (file)
@@ -85,7 +85,7 @@
  * <machine/endian.h> where the appropriate definitions are actually
  * made).
  */
-#if !defined(__BYTE_ORDER)
+#if !defined(BYTE_ORDER)
 #define BYTE_ORDER __BYTE_ORDER
 #endif
 
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)