summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/protocol/plexus.c2
-rw-r--r--src/protocol/ptlink.c1
-rw-r--r--src/tools/db-merger.c21
-rw-r--r--src/tools/epona2anope.c21
-rw-r--r--src/tools/smtp.h12
-rw-r--r--version.log6
6 files changed, 60 insertions, 3 deletions
diff --git a/src/protocol/plexus.c b/src/protocol/plexus.c
index c85b38eb3..d1e5b000c 100644
--- a/src/protocol/plexus.c
+++ b/src/protocol/plexus.c
@@ -1,5 +1,4 @@
/* PlexusIRCD IRCD functions
- *
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
*
@@ -1814,3 +1813,4 @@ AnopeInit (int argc, char **argv)
return MOD_CONT;
}
+
diff --git a/src/protocol/ptlink.c b/src/protocol/ptlink.c
index 9a272db1f..bbd2506eb 100644
--- a/src/protocol/ptlink.c
+++ b/src/protocol/ptlink.c
@@ -587,7 +587,6 @@ void moduleAddIRCDMsgs(void) {
/* *INDENT-ON* */
-
int anope_event_svsinfo(char *source, int ac, char **av)
{
return MOD_CONT;
diff --git a/src/tools/db-merger.c b/src/tools/db-merger.c
index 89ee72ea5..9116e9ac0 100644
--- a/src/tools/db-merger.c
+++ b/src/tools/db-merger.c
@@ -35,6 +35,27 @@
#include "sysconf.h"
#endif
+/* Some SUN fixs */
+#ifdef __sun
+/* Solaris specific code, types that do not exist in Solaris'
+ * sys/types.h
+ **/
+#undef u_int8_t
+#undef u_int16_t
+#undef u_int32_t
+#undef u_int_64_t
+#define u_int8_t uint8_t
+#define u_int16_t uint16_t
+#define u_int32_t uint32_t
+#define u_int64_t uint64_t
+
+#ifndef INADDR_NONE
+#define INADDR_NONE (-1)
+#endif
+
+#endif
+
+
/* CONFIGURATION BLOCK */
#define NICK_DB_1 "nick1.db"
diff --git a/src/tools/epona2anope.c b/src/tools/epona2anope.c
index e88cae106..a48f2f785 100644
--- a/src/tools/epona2anope.c
+++ b/src/tools/epona2anope.c
@@ -35,6 +35,27 @@
#include "sysconf.h"
#endif
+/* Some SUN fixs */
+#ifdef __sun
+/* Solaris specific code, types that do not exist in Solaris'
+ * * sys/types.h
+ * **/
+#undef u_int8_t
+#undef u_int16_t
+#undef u_int32_t
+#undef u_int_64_t
+#define u_int8_t uint8_t
+#define u_int16_t uint16_t
+#define u_int32_t uint32_t
+#define u_int64_t uint64_t
+
+#ifndef INADDR_NONE
+#define INADDR_NONE (-1)
+#endif
+
+#endif
+
+
/* CONFIGURATION BLOCK */
#define CHAN_DB_EPONA "chan1.db"
diff --git a/src/tools/smtp.h b/src/tools/smtp.h
index 7ffda89e8..b04fa98d8 100644
--- a/src/tools/smtp.h
+++ b/src/tools/smtp.h
@@ -67,6 +67,18 @@ extern int connect(int, struct sockaddr *, int);
# endif
#endif /* _AIX */
+/* Some SUN fixs */
+#ifdef __sun
+/* Solaris specific code, types that do not exist in Solaris'
+ * * sys/types.h
+ * **/
+#ifndef INADDR_NONE
+#define INADDR_NONE (-1)
+#endif
+
+#endif
+
+
#ifdef _WIN32
#define PATH_MAX MAX_PATH
#define snprintf _snprintf
diff --git a/version.log b/version.log
index a07cca006..3e125e8bc 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="9"
-VERSION_BUILD="799"
+VERSION_BUILD="801"
# $Log$
#
+# BUILD : 1.7.9 (801)
+# BUGS : N/A
+# NOTES : last couple of solaris fixs :)
+#
# BUILD : 1.7.9 (799)
# BUGS : N/A
# NOTES : Fixed compiling on solaris and amd64 systems