new patch: 020_fix_ptys
[ckermit.git] / debian / patches / 020_fix_ptys.patch
diff --git a/debian/patches/020_fix_ptys.patch b/debian/patches/020_fix_ptys.patch
new file mode 100644 (file)
index 0000000..2bd5b47
--- /dev/null
@@ -0,0 +1,13 @@
+Index: ckermit/ckupty.c
+===================================================================
+--- ckermit.orig/ckupty.c      2012-05-08 04:43:50.000000000 +0100
++++ ckermit/ckupty.c   2012-05-08 04:44:30.000000000 +0100
+@@ -54,6 +54,8 @@
+    . HP-UX 8.00 and earlier (no vhangup or ptsname routines)
+ */
++#define _XOPEN_SOURCE
++#include <stdlib.h>
+ #include "ckcsym.h"
+ #include "ckcdeb.h"                   /* To pick up NETPTY definition */