summaryrefslogtreecommitdiff
path: root/misc/tmux/patches/patch-server-client.c
blob: c613c4247866c6b05122c5a025bda67466f2f2ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-server-client.c,v 1.1 2013/04/02 10:59:50 fhajny Exp $

SunOS errno support needs the right include.

--- server-client.c.orig	2013-04-02 10:54:02.404886167 +0000
+++ server-client.c
@@ -26,6 +26,10 @@
 #include <time.h>
 #include <unistd.h>
 
+#ifdef __sun
+#include <errno.h>
+#endif
+
 #include "tmux.h"
 
 void	server_client_check_focus(struct window_pane *);