# HG changeset patch # User Jacob Dawid # Date 1314137813 -7200 # Node ID 0ee1b81a0538c22a8f230e2c2948c37a2554b90a # Parent 3d4f5cf3ca3481eb2b71437555d11ab102e203e1 Added PATH_MAX define. diff -r 3d4f5cf3ca34 -r 0ee1b81a0538 gui/src/terminal/KPty.cpp --- a/gui/src/terminal/KPty.cpp Tue Aug 23 21:53:52 2011 +0200 +++ b/gui/src/terminal/KPty.cpp Wed Aug 24 00:16:53 2011 +0200 @@ -29,6 +29,7 @@ #include #include +#define PATH_MAX 1024 /* for HP-UX (some versions) the extern C is needed, and for other platforms it doesn't hurt */ @@ -100,8 +101,6 @@ d->ownMaster = true; - QByteArray ptyName; - // Find a master pty that we can open //////////////////////////////// // Because not all the pty animals are created equal, they want to