Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
+6 -12
View File
@@ -1,18 +1,12 @@
$NetBSD: patch-server-client.c,v 1.2 2013/10/06 09:01:41 obache Exp $
$NetBSD: patch-server-client.c,v 1.4 2016/05/09 12:39:05 fhajny Exp $
* SunOS errno support needs the right include.
* timersub is missing on Solaris10
--- server-client.c.orig 2013-03-26 19:22:31.000000000 +0000
--- server-client.c.orig 2016-04-04 00:16:53.000000000 +0000
+++ server-client.c
@@ -26,8 +26,24 @@
#include <time.h>
#include <unistd.h>
@@ -30,6 +30,18 @@
+#ifdef __sun
+#include <errno.h>
+#endif
+
#include "tmux.h"
+#ifndef timersub
@@ -27,6 +21,6 @@ $NetBSD: patch-server-client.c,v 1.2 2013/10/06 09:01:41 obache Exp $
+ } while (0)
+#endif
+
void server_client_check_focus(struct window_pane *);
void server_client_check_resize(struct window_pane *);
void server_client_check_mouse(struct client *, struct window_pane *);
void server_client_free(int, short, void *);
void server_client_check_focus(struct window_pane *);
void server_client_check_resize(struct window_pane *);