24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
authorJohn Beck <John.Beck@Oracle.COM>
Thu, 25 Aug 2016 15:21:29 -0700
changeset 6698 0ecaee856756
parent 6697 5eee27273099
child 6699 c08d869c3db7
24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
components/tmux/patches/01-param.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/tmux/patches/01-param.patch	Thu Aug 25 15:21:29 2016 -0700
@@ -0,0 +1,12 @@
+This patch was written in-house and is intended for contribution upstream.
+
+--- tmux-2.2/osdep-sunos.c.orig	2015-04-25 13:44:57.000000000 -0700
++++ tmux-2.2/osdep-sunos.c	2016-08-25 08:56:09.437920629 -0700
[email protected]@ -18,6 +18,7 @@
+ 
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/param.h>
+ 
+ #include <event.h>
+ #include <fcntl.h>