patches/tmux-01-include-netdb.h.patch
author Guido Berhoerster <gber@openindiana.org>
Mon, 25 Oct 2010 22:04:53 +0200
changeset 0 10291c5dc856
permissions -rw-r--r--
Initial revision.

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"