components/tmux/patches/01-param.patch
author John Beck <John.Beck@Oracle.COM>
Thu, 25 Aug 2016 15:21:29 -0700
changeset 6698 0ecaee856756
permissions -rw-r--r--
24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6698
0ecaee856756 24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
This patch was written in-house and is intended for contribution upstream.
0ecaee856756 24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
0ecaee856756 24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
--- tmux-2.2/osdep-sunos.c.orig	2015-04-25 13:44:57.000000000 -0700
0ecaee856756 24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
+++ tmux-2.2/osdep-sunos.c	2016-08-25 08:56:09.437920629 -0700
0ecaee856756 24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
@@ -18,6 +18,7 @@
0ecaee856756 24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
 
0ecaee856756 24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
 #include <sys/types.h>
0ecaee856756 24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
 #include <sys/stat.h>
0ecaee856756 24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
+#include <sys/param.h>
0ecaee856756 24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
 
0ecaee856756 24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
 #include <event.h>
0ecaee856756 24523773 tmux needs to #include <sys/param.h> before using MAXPATHLEN
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    12
 #include <fcntl.h>