Hello,

tmux 1.3 fails to compile on Solaris/Solaris Express/OpenIndiana
because screen.c uses the MAXHOSTNAMELEN macro but does not
include netdb.h where it is defined. I've attached a patch for
convenience.

-- 
Guido Berhoerster
diff -ur tmux-1.3.orig/screen.c tmux-1.3/screen.c
--- tmux-1.3.orig/screen.c	2010-04-07 00:01:32.000000000 +0200
+++ tmux-1.3/screen.c	2010-10-21 21:39:15.000000000 +0200
@@ -21,6 +21,9 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#ifdef __sun
+#include <netdb.h>
+#endif
 
 #include "tmux.h"
 
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to