diff options
Diffstat (limited to 'x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c')
-rw-r--r-- | x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c b/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c new file mode 100644 index 000000000..cdadaca6a --- /dev/null +++ b/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c @@ -0,0 +1,19 @@ +--- gnome-pty-helper/gnome-pty-helper.c.orig Wed Nov 27 13:40:01 2002 ++++ gnome-pty-helper/gnome-pty-helper.c Wed Nov 27 13:40:42 2002 +@@ -42,6 +42,7 @@ + #include <unistd.h> + #include <string.h> + #include <signal.h> ++#include <sys/param.h> + #include <fcntl.h> + #include <termios.h> + #include <errno.h> +@@ -93,7 +94,7 @@ + #endif + #endif /* CMSG_DATA */ + +-#define CONTROLLEN (sizeof (struct cmsghdr) + sizeof (int)) ++#define CONTROLLEN (sizeof (struct cmsghdr) + sizeof (long)) + + static struct cmsghdr *cmptr; + |