Merged with Irssi 0.8.6.
[silc.git] / apps / irssi / src / common.h
index b65c57a1182909072e4e528735a3718be88535e2..b88cd9da9af7ddcbc1a7588f241f98862dda9384 100644 (file)
@@ -11,6 +11,8 @@
 #define IRSSI_GLOBAL_CONFIG "silc.conf" /* config file name in /etc/ */
 #define IRSSI_HOME_CONFIG "silc.conf" /* config file name in ~/.irssi/ */
 
+#define DEFAULT_SERVER_ADD_PORT 706
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 #  include <gmodule.h>
 #endif
 
+#if defined (UOFF_T_INT)
+typedef unsigned int uoff_t;
+#elif defined (UOFF_T_LONG)
+typedef unsigned long uoff_t;
+#elif defined (UOFF_T_LONGLONG)
+typedef unsigned long long uoff_t;
+#else
+#  error uoff_t size not set
+#endif
+
 /* input functions */
 #define G_INPUT_READ   (1 << 0)
 #define G_INPUT_WRITE  (1 << 1)