summaryrefslogtreecommitdiff
path: root/src/irc/irc.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-10-12 17:16:14 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-10-12 17:16:14 +0000
commit9b91c915774e2a9500cef3e694ca526d26d76cb0 (patch)
treea9349a205e561de7d3dfd6dede6ef40e9a81e201 /src/irc/irc.h
parent481e6f8e7f1c2cfdcbcc95e4b2c9dc3eaa243852 (diff)
downloadweechat-9b91c915774e2a9500cef3e694ca526d26d76cb0.zip
Fixed some portability bugs (patch #5271)
Diffstat (limited to 'src/irc/irc.h')
-rw-r--r--src/irc/irc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/irc/irc.h b/src/irc/irc.h
index 9fe042806..dbb61fd22 100644
--- a/src/irc/irc.h
+++ b/src/irc/irc.h
@@ -36,6 +36,10 @@
#include "../gui/gui.h"
+#ifndef NI_MAXHOST
+#define NI_MAXHOST 256
+#endif
+
/* prefixes for chat window */
#define PREFIX_SERVER "-@-"