patches/tmux-01-include-netdb.h.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 3269 c2a0dbfd764a
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name

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"